Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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.001015/0.001015, allocations: 80.75 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.001155/0.001155, allocations: 181 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.9662/0.9662, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.7735/0.7735, allocations: 154.6 MB / 414.9 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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 479.9 MB, free: 6.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.461e-05, allocations: 2.312 kB / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002881/0.002905, allocations: 2.079 MB / 482 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.003926, allocations: 0.5887 MB / 482.6 MB, free: 4.273 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.004029, allocations: 4.625 kB / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.004142, allocations: 25.45 kB / 482.6 MB, free: 4.246 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.771e-05/0.004239, allocations: 46.92 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.004491, allocations: 72.84 kB / 482.8 MB, free: 4.141 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.004679, allocations: 191.1 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.004808, allocations: 51.78 kB / 483 MB, free: 3.898 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.005005, allocations: 120.6 kB / 483.1 MB, free: 3.781 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.443e-05/0.005099, allocations: 55.81 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.00512, allocations: 13.16 kB / 483.2 MB, free: 3.715 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.033e-05/0.00517, allocations: 23.92 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.005197, allocations: 35.91 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.005243, allocations: 57.78 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.005414, allocations: 123.5 kB / 483.4 MB, free: 3.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005417, allocations: 0 / 483.4 MB, free: 3.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005417, allocations: 0 / 483.4 MB, free: 3.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.005421, allocations: 0 / 483.4 MB, free: 3.48 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.0004075/0.005829, allocations: 392.8 kB / 483.8 MB, free: 3.078 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.005859, allocations: 8.031 kB / 483.8 MB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.005964, allocations: 33.58 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.006116, allocations: 150.8 kB / 484 MB, free: 2.867 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.006169, allocations: 67.91 kB / 484.1 MB, free: 2.789 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.006192, allocations: 12.38 kB / 484.1 MB, free: 2.777 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.006458, allocations: 123.9 kB / 484.2 MB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.006467, allocations: 192 / 484.2 MB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.00648, allocations: 9 kB / 484.2 MB, free: 2.641 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.006485, allocations: 4 kB / 484.2 MB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.925e-05/0.006555, allocations: 36.88 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.006959, allocations: 301.6 kB / 484.5 MB, free: 2.293 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.007106, allocations: 66.73 kB / 484.6 MB, free: 2.223 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.007138, allocations: 29.45 kB / 484.6 MB, free: 2.191 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.007153, allocations: 0 / 484.6 MB, free: 2.191 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.007174, allocations: 39.16 kB / 484.7 MB, free: 2.145 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.007175, allocations: 0.5 kB / 484.7 MB, free: 2.145 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001433/0.007318, allocations: 86.12 kB / 484.8 MB, free: 2.055 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.007342, allocations: 55.41 kB / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.455e-05/0.007417, allocations: 156.1 kB / 485 MB, free: 1.824 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.007431, allocations: 25.7 kB / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.007477, allocations: 122.1 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.007503, allocations: 47.56 kB / 485.2 MB, free: 1.621 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.00754, allocations: 37.62 kB / 485.2 MB, free: 1.578 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.043e-05/0.007611, allocations: 326.8 kB / 485.5 MB, free: 1.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.007633, allocations: 12 kB / 485.5 MB, free: 1.238 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.268e-05/0.007666, allocations: 31.16 kB / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.223e-05/0.007738, allocations: 73.95 kB / 485.6 MB, free: 1.121 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.00774, allocations: 0 / 485.6 MB, free: 1.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.951e-05/0.007839, allocations: 82.83 kB / 485.7 MB, free: 1.035 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.007853, allocations: 11.98 kB / 485.7 MB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007858, allocations: 2.031 kB / 485.7 MB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.007869, allocations: 3.938 kB / 485.7 MB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.49e-05/0.007953, allocations: 31.92 kB / 485.7 MB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.007957, allocations: 4 kB / 485.8 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.008003, allocations: 16.42 kB / 485.8 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.008011, allocations: 9.312 kB / 485.8 MB, free: 0.9609 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.661e-05/0.008078, allocations: 113.8 kB / 485.9 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.008098, allocations: 15.78 kB / 485.9 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.008126, allocations: 18.03 kB / 485.9 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.008129, allocations: 3.938 kB / 485.9 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.008131, allocations: 1.906 kB / 485.9 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.008135, allocations: 3.984 kB / 485.9 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.008251, allocations: 113.8 kB / 486 MB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.008252, allocations: 0 / 486 MB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.008324, allocations: 32.67 kB / 486.1 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008326, allocations: 0 / 486.1 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.008336, allocations: 4.844 kB / 486.1 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008337, allocations: 0 / 486.1 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008338, allocations: 0 / 486.1 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.008501, allocations: 192.5 kB / 486.3 MB, free: 440 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.008515, allocations: 15.84 kB / 486.3 MB, free: 424 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.008531, allocations: 4 kB / 486.3 MB, free: 420 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.008583, allocations: 13.11 kB / 486.3 MB, free: 408 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.008631, allocations: 15.97 kB / 486.3 MB, free: 392 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.008637, allocations: 8.969 kB / 486.3 MB, free: 384 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.849e-05/0.008666, allocations: 43.16 kB / 486.4 MB, free: 340 kB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008666, allocations: 0 / 486.4 MB, free: 340 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.008811, allocations: 32.88 kB / 486.4 MB, free: 308 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 7.782e-05/0.008889, allocations: 77.77 kB / 486.5 MB, free: 224 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.57e-05/0.008985, allocations: 56.7 kB / 486.5 MB, free: 164 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.008989, allocations: 4.625 kB / 486.5 MB, free: 160 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.009024, allocations: 36.78 kB / 486.6 MB, free: 120 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.009182, allocations: 21.95 kB / 486.6 MB, free: 100 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.009843, allocations: 377.9 kB / 487 MB, free: 15.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.009881, allocations: 75.27 kB / 487 MB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.482e-05/0.009926, allocations: 11.45 kB / 487 MB, free: 15.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.473e-05/0.01, allocations: 71.36 kB / 487.1 MB, free: 15.56 MB / 458.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01, allocations: 0 / 487.1 MB, free: 15.56 MB / 458.7 MB Notification: Performance of Templates: time 0.003657/0.01366, allocations: 1.618 MB / 488.7 MB, free: 14.06 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5957843377254903]