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.0007595/0.0007595, 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.0008921/0.0008921, allocations: 177.3 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 0.9196/0.9196, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.753/0.753, allocations: 154.6 MB / 414.8 MB, free: 500 kB / 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.282e-06/1.282e-06, allocations: 0.9844 kB / 479.9 MB, free: 6.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.169e-05, allocations: 4.844 kB / 479.9 MB, free: 6.938 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.00235/0.002362, allocations: 2.079 MB / 482 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007369/0.003099, allocations: 0.5965 MB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.003174, allocations: 0 / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.765e-05/0.003272, allocations: 28.59 kB / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.232e-05/0.003354, allocations: 50.14 kB / 482.7 MB, free: 4.23 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.003567, allocations: 67.84 kB / 482.8 MB, free: 4.164 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.003724, allocations: 199.7 kB / 483 MB, free: 3.969 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.003832, allocations: 51.16 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.003989, allocations: 107 kB / 483.1 MB, free: 3.812 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.872e-05/0.004078, allocations: 63.8 kB / 483.2 MB, free: 3.75 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.0041, allocations: 16 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.349e-05/0.004143, allocations: 19.94 kB / 483.2 MB, free: 3.715 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.004172, allocations: 39.83 kB / 483.2 MB, free: 3.676 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.004212, allocations: 51.91 kB / 483.3 MB, free: 3.625 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.004361, allocations: 131.5 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004363, allocations: 0 / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004363, allocations: 0.9062 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.004366, allocations: 3.938 kB / 483.4 MB, free: 3.492 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.0003934/0.00476, allocations: 377.1 kB / 483.8 MB, free: 3.105 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.004789, allocations: 12.03 kB / 483.8 MB, free: 3.094 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.837e-05/0.004887, allocations: 33.5 kB / 483.8 MB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.005022, allocations: 154.1 kB / 484 MB, free: 2.887 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.005073, allocations: 63.97 kB / 484.1 MB, free: 2.812 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.005095, allocations: 13 kB / 484.1 MB, free: 2.801 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.00525, allocations: 123.4 kB / 484.2 MB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.005258, allocations: 0.7188 kB / 484.2 MB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.005271, allocations: 12.78 kB / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.005277, allocations: 4.938 kB / 484.2 MB, free: 2.656 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.00535, allocations: 32.88 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.005763, allocations: 302 kB / 484.5 MB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.005913, allocations: 63.45 kB / 484.6 MB, free: 2.246 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.005945, allocations: 25.78 kB / 484.6 MB, free: 2.219 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.00596, allocations: 4 kB / 484.6 MB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.00598, allocations: 35.56 kB / 484.7 MB, free: 2.172 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.005981, allocations: 0 / 484.7 MB, free: 2.172 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001408/0.006122, allocations: 94.78 kB / 484.8 MB, free: 2.074 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.006146, allocations: 51.41 kB / 484.8 MB, free: 2.012 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/0.006219, allocations: 159.3 kB / 485 MB, free: 1.844 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.006232, allocations: 29.7 kB / 485 MB, free: 1.809 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.006284, allocations: 116.9 kB / 485.1 MB, free: 1.688 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.006311, allocations: 48.78 kB / 485.1 MB, free: 1.641 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.006348, allocations: 29.7 kB / 485.2 MB, free: 1.605 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.006416, allocations: 322.8 kB / 485.5 MB, free: 1.281 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.006438, allocations: 12 kB / 485.5 MB, free: 1.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.006474, allocations: 43.52 kB / 485.5 MB, free: 1.219 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.189e-05/0.006536, allocations: 63.02 kB / 485.6 MB, free: 1.152 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.006538, allocations: 0 / 485.6 MB, free: 1.152 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.039e-05/0.006628, allocations: 86.31 kB / 485.7 MB, free: 1.062 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.006639, allocations: 4 kB / 485.7 MB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.006644, allocations: 5.625 kB / 485.7 MB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.006658, allocations: 7.938 kB / 485.7 MB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.006745, allocations: 39.91 kB / 485.7 MB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.006749, allocations: 1.688 kB / 485.8 MB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.006793, allocations: 15.92 kB / 485.8 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.0068, allocations: 4 kB / 485.8 MB, free: 0.9883 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.385e-05/0.006864, allocations: 122.5 kB / 485.9 MB, free: 0.8594 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.006883, allocations: 10 kB / 485.9 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.006908, allocations: 18.12 kB / 485.9 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.006911, allocations: 11.88 kB / 485.9 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006913, allocations: 4.531 kB / 485.9 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.006915, allocations: 0 / 485.9 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.007025, allocations: 111.2 kB / 486 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.007026, allocations: 0 / 486 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/0.007094, allocations: 27.97 kB / 486.1 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-07/0.007095, allocations: 0.9375 kB / 486.1 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.007102, allocations: 0 / 486.1 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.007103, allocations: 4 kB / 486.1 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.007104, allocations: 1.031 kB / 486.1 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.007255, allocations: 195.4 kB / 486.3 MB, free: 460 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.007269, allocations: 16.69 kB / 486.3 MB, free: 444 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.007282, allocations: 4 kB / 486.3 MB, free: 440 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/0.007335, allocations: 12.58 kB / 486.3 MB, free: 428 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.007369, allocations: 18 kB / 486.3 MB, free: 412 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.007376, allocations: 7.938 kB / 486.3 MB, free: 404 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.383e-05/0.007399, allocations: 35.17 kB / 486.4 MB, free: 368 kB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007399, allocations: 3.938 kB / 486.4 MB, free: 364 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.007534, allocations: 28 kB / 486.4 MB, free: 336 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.281e-05/0.007597, allocations: 89.12 kB / 486.5 MB, free: 244 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.663e-05/0.007684, allocations: 50.22 kB / 486.5 MB, free: 192 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.007686, allocations: 4 kB / 486.5 MB, free: 188 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.007724, allocations: 40.77 kB / 486.6 MB, free: 144 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.007868, allocations: 25.8 kB / 486.6 MB, free: 120 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006047/0.008473, allocations: 367.5 kB / 487 MB, free: 15.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.00851, allocations: 75.27 kB / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.046e-05/0.008551, allocations: 12.11 kB / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.008621, allocations: 67.36 kB / 487.1 MB, free: 15.59 MB / 458.7 MB Notification: Performance of SimCode: time 3.31e-07/0.008622, allocations: 0 / 487.1 MB, free: 15.59 MB / 458.7 MB Notification: Performance of Templates: time 0.003262/0.01188, allocations: 1.628 MB / 488.7 MB, free: 14.09 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.369966860394925]