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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.093/1.093, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.856/0.856, allocations: 154.6 MB / 414.8 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0.9844 kB / 480 MB, free: 6.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.223e-05, allocations: 9.438 kB / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003274/0.003296, allocations: 2.113 MB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.00433, allocations: 0.5936 MB / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.004432, allocations: 5.875 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.004558, allocations: 24.59 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.00467, allocations: 47.11 kB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.004914, allocations: 68.53 kB / 482.8 MB, free: 4.113 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.005145, allocations: 195.7 kB / 483 MB, free: 3.922 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.005292, allocations: 55.16 kB / 483.1 MB, free: 3.863 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.005514, allocations: 109 kB / 483.2 MB, free: 3.758 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.005639, allocations: 63.8 kB / 483.3 MB, free: 3.695 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.005669, allocations: 16 kB / 483.3 MB, free: 3.68 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.854e-05/0.005738, allocations: 20.47 kB / 483.3 MB, free: 3.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.005775, allocations: 41.02 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.005833, allocations: 55.84 kB / 483.4 MB, free: 3.566 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.006031, allocations: 123.5 kB / 483.5 MB, free: 3.445 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.006033, allocations: 1.062 kB / 483.5 MB, free: 3.445 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006033, allocations: 0 / 483.5 MB, free: 3.445 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.006037, allocations: 0 / 483.5 MB, free: 3.445 MB / 442.7 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.0005179/0.006555, allocations: 385.7 kB / 483.9 MB, free: 3.051 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.006593, allocations: 8.031 kB / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.006734, allocations: 32.91 kB / 483.9 MB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.00692, allocations: 154.2 kB / 484.1 MB, free: 2.836 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.818e-05/0.006988, allocations: 59.97 kB / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.007019, allocations: 17.81 kB / 484.2 MB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.007239, allocations: 126.8 kB / 484.3 MB, free: 2.617 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.007251, allocations: 1.031 kB / 484.3 MB, free: 2.617 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.007267, allocations: 12.06 kB / 484.3 MB, free: 2.609 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.007275, allocations: 4 kB / 484.3 MB, free: 2.605 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.711e-05/0.007372, allocations: 32.77 kB / 484.3 MB, free: 2.574 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.007886, allocations: 302.3 kB / 484.6 MB, free: 2.266 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.008088, allocations: 70.47 kB / 484.7 MB, free: 2.188 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.008138, allocations: 29.41 kB / 484.7 MB, free: 2.156 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.008154, allocations: 0.625 kB / 484.7 MB, free: 2.156 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.008179, allocations: 38.56 kB / 484.8 MB, free: 2.109 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.00818, allocations: 0.625 kB / 484.8 MB, free: 2.109 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001998/0.00838, allocations: 82.22 kB / 484.8 MB, free: 2.023 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.008411, allocations: 59.34 kB / 484.9 MB, free: 1.953 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.008518, allocations: 159.9 kB / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.008537, allocations: 26.33 kB / 485.1 MB, free: 1.754 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.008597, allocations: 116.3 kB / 485.2 MB, free: 1.637 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.008636, allocations: 52.28 kB / 485.2 MB, free: 1.586 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.008687, allocations: 25.7 kB / 485.3 MB, free: 1.555 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.008786, allocations: 327.3 kB / 485.6 MB, free: 1.227 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.456e-05/0.00882, allocations: 8.719 kB / 485.6 MB, free: 1.219 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.008872, allocations: 42.55 kB / 485.6 MB, free: 1.168 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.383e-05/0.008966, allocations: 74.34 kB / 485.7 MB, free: 1.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.008968, allocations: 0.75 kB / 485.7 MB, free: 1.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.75e-05/0.009065, allocations: 82.53 kB / 485.8 MB, free: 1.004 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.009075, allocations: 4 kB / 485.8 MB, free: 1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.009079, allocations: 5.219 kB / 485.8 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.009088, allocations: 3.938 kB / 485.8 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.009214, allocations: 40.5 kB / 485.8 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-06/0.009216, allocations: 0 / 485.8 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.009262, allocations: 16.92 kB / 485.9 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.00927, allocations: 4 kB / 485.9 MB, free: 0.9336 MB / 442.7 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 6.349e-05/0.009333, allocations: 123.6 kB / 486 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.009356, allocations: 11.98 kB / 486 MB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.009382, allocations: 13.47 kB / 486 MB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.009384, allocations: 7.938 kB / 486 MB, free: 0.7656 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.009386, allocations: 2.344 kB / 486 MB, free: 0.7656 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.009389, allocations: 3.984 kB / 486 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.009503, allocations: 109.8 kB / 486.1 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.009503, allocations: 0 / 486.1 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.385e-05/0.009587, allocations: 30.38 kB / 486.2 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.009588, allocations: 0 / 486.2 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.009597, allocations: 9.625 kB / 486.2 MB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.009598, allocations: 0 / 486.2 MB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.009602, allocations: 11.92 kB / 486.2 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.00975, allocations: 187.4 kB / 486.4 MB, free: 400 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.009762, allocations: 16.47 kB / 486.4 MB, free: 384 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.009777, allocations: 7.984 kB / 486.4 MB, free: 376 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.261e-05/0.009829, allocations: 9.281 kB / 486.4 MB, free: 368 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.009872, allocations: 19.91 kB / 486.4 MB, free: 348 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.009877, allocations: 0.75 kB / 486.4 MB, free: 348 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.662e-05/0.009903, allocations: 43.16 kB / 486.5 MB, free: 304 kB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009903, allocations: 1.719 kB / 486.5 MB, free: 304 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.01004, allocations: 28 kB / 486.5 MB, free: 276 kB / 442.7 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 6.105e-05/0.0101, allocations: 84.36 kB / 486.6 MB, free: 184 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.942e-05/0.01019, allocations: 53.7 kB / 486.6 MB, free: 128 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.01019, allocations: 4 kB / 486.6 MB, free: 124 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/0.01023, allocations: 38.64 kB / 486.7 MB, free: 88 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.01038, allocations: 27.86 kB / 486.7 MB, free: 60 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/0.01101, allocations: 375.4 kB / 487.1 MB, free: 15.69 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.807e-05/0.01105, allocations: 71.33 kB / 487.1 MB, free: 15.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.264e-05/0.01109, allocations: 11.16 kB / 487.1 MB, free: 15.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.01117, allocations: 67.36 kB / 487.2 MB, free: 15.52 MB / 458.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01117, allocations: 5.094 kB / 487.2 MB, free: 15.52 MB / 458.7 MB Notification: Performance of Templates: time 0.003121/0.01429, allocations: 1.667 MB / 488.9 MB, free: 13.98 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6173705998808146]