Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7022/0.7022, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.94 kB / 0.5018 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4116, allocations: 80.2 MB / 0.5801 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002943/0.4146, allocations: 2.03 MB / 0.5821 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007583/0.4154, allocations: 0.5285 MB / 0.5826 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.897e-05/0.4155, allocations: 6.562 kB / 0.5826 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.4157, allocations: 23.7 kB / 0.5826 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.4158, allocations: 41.69 kB / 0.5826 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.4161, allocations: 52.64 kB / 0.5827 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.4164, allocations: 176.9 kB / 0.5829 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.4166, allocations: 78.75 kB / 0.5829 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.4168, allocations: 74.28 kB / 0.583 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.4169, allocations: 87.7 kB / 0.5831 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.417, allocations: 15.03 kB / 0.5831 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.431e-05/0.417, allocations: 14.94 kB / 0.5831 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.4171, allocations: 35.38 kB / 0.5832 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.4172, allocations: 79.12 kB / 0.5832 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.4175, allocations: 169.7 kB / 0.5834 GB, free: 2.555 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4175, allocations: 0 / 0.5834 GB, free: 2.555 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4175, allocations: 0 / 0.5834 GB, free: 2.555 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.4175, allocations: 1.344 kB / 0.5834 GB, free: 2.555 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008446/0.4184, allocations: 494 kB / 0.5839 GB, free: 2.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4184, allocations: 10.05 kB / 0.5839 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.4185, allocations: 21.97 kB / 0.5839 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.4187, allocations: 210.4 kB / 0.5841 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.4188, allocations: 41.11 kB / 0.5841 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.4189, allocations: 17.91 kB / 0.5842 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.4193, allocations: 157 kB / 0.5843 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.4193, allocations: 1.812 kB / 0.5843 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.4194, allocations: 4.719 kB / 0.5843 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.4194, allocations: 2.938 kB / 0.5843 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.4199, allocations: 147.5 kB / 0.5845 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000842/0.4208, allocations: 0.5334 MB / 0.585 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.4213, allocations: 139.9 kB / 0.5851 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.4215, allocations: 83.02 kB / 0.5852 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.4215, allocations: 1.562 kB / 0.5852 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.4216, allocations: 35.69 kB / 0.5852 GB, free: 1.164 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.4216, allocations: 0 / 0.5852 GB, free: 1.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007203/0.4223, allocations: 213.8 kB / 0.5854 GB, free: 1.094 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.4223, allocations: 61.97 kB / 0.5855 GB, free: 1.023 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.4225, allocations: 151.3 kB / 0.5856 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.4225, allocations: 35.19 kB / 0.5857 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.4225, allocations: 129.4 kB / 0.5858 GB, free: 0.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.4226, allocations: 44.41 kB / 0.5858 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.4226, allocations: 33.83 kB / 0.5859 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.4227, allocations: 325.9 kB / 0.5862 GB, free: 376 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.4229, allocations: 58.42 kB / 0.5862 GB, free: 364 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.4231, allocations: 85.56 kB / 0.5863 GB, free: 324 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.4235, allocations: 139.7 kB / 0.5864 GB, free: 264 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4235, allocations: 5 kB / 0.5864 GB, free: 260 kB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005406/0.4241, allocations: 189.5 kB / 0.5866 GB, free: 184 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4241, allocations: 4.438 kB / 0.5866 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4241, allocations: 2.172 kB / 0.5866 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4241, allocations: 1.375 kB / 0.5866 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.4243, allocations: 36.14 kB / 0.5867 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4244, allocations: 5.172 kB / 0.5867 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.4245, allocations: 35.06 kB / 0.5867 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.4245, allocations: 4.469 kB / 0.5867 GB, free: 164 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.824e-05/0.4246, allocations: 130.7 kB / 0.5868 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.4246, allocations: 18.02 kB / 0.5869 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.4247, allocations: 17.06 kB / 0.5869 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4247, allocations: 2.266 kB / 0.5869 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4247, allocations: 0.9375 kB / 0.5869 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4247, allocations: 0.6094 kB / 0.5869 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.4251, allocations: 247.5 kB / 0.5871 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4251, allocations: 0 / 0.5871 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.4253, allocations: 32.27 kB / 0.5871 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4253, allocations: 1.906 kB / 0.5871 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4253, allocations: 1.375 kB / 0.5871 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4253, allocations: 0.7969 kB / 0.5871 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4253, allocations: 5.469 kB / 0.5871 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007593/0.4261, allocations: 348.2 kB / 0.5875 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.4261, allocations: 84.98 kB / 0.5876 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.4262, allocations: 2.406 kB / 0.5876 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.4263, allocations: 24.77 kB / 0.5876 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.4264, allocations: 10.89 kB / 0.5876 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.4264, allocations: 7.75 kB / 0.5876 GB, free: 15.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.695e-05/0.4265, allocations: 113.2 kB / 0.5877 GB, free: 15.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4265, allocations: 1.062 kB / 0.5877 GB, free: 15.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.4268, allocations: 39.47 kB / 0.5878 GB, free: 15.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001005/0.4269, allocations: 99.42 kB / 0.5878 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004958/0.4274, allocations: 160.2 kB / 0.588 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4274, allocations: 0 / 0.588 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.4276, allocations: 74.56 kB / 0.5881 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.428, allocations: 24.34 kB / 0.5881 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007625/0.4287, allocations: 390.8 kB / 0.5885 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.429, allocations: 0.7154 MB / 0.5892 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.372e-05/0.4291, allocations: 10.45 kB / 0.5892 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.4292, allocations: 15.58 kB / 0.5892 GB, free: 14.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4292, allocations: 0 / 0.5892 GB, free: 14.23 MB / 446.1 MB Notification: Performance of Templates: time 0.004398/0.4336, allocations: 1.581 MB / 0.5907 GB, free: 14.1 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)