Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.0009456/0.0009456, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009235/0.0009235, allocations: 177 kB / 23.36 MB, free: 1.129 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.9963/0.9963, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7657/0.7657, allocations: 154.9 MB / 415.1 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 480.4 MB, free: 6.578 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.788e-05, allocations: 4.422 kB / 480.4 MB, free: 6.574 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002352/0.00237, allocations: 2.061 MB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008678/0.003238, allocations: 0.6538 MB / 483.1 MB, free: 3.891 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.003319, allocations: 0 / 483.1 MB, free: 3.891 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.916e-05/0.003418, allocations: 29.28 kB / 483.1 MB, free: 3.863 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.571e-05/0.003483, allocations: 39.86 kB / 483.2 MB, free: 3.836 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.003749, allocations: 101.1 kB / 483.3 MB, free: 3.738 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.003931, allocations: 236 kB / 483.5 MB, free: 3.508 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.004072, allocations: 86.59 kB / 483.6 MB, free: 3.418 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.004243, allocations: 139.6 kB / 483.7 MB, free: 3.281 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.639e-05/0.00433, allocations: 76.45 kB / 483.8 MB, free: 3.207 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.004354, allocations: 21.94 kB / 483.8 MB, free: 3.188 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.897e-05/0.004413, allocations: 28 kB / 483.8 MB, free: 3.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.004462, allocations: 55.77 kB / 483.9 MB, free: 3.105 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.00451, allocations: 63.83 kB / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.004703, allocations: 175.2 kB / 484.1 MB, free: 2.871 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004705, allocations: 0.8125 kB / 484.1 MB, free: 2.871 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.8e-07/0.004706, allocations: 0 / 484.1 MB, free: 2.871 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.004709, allocations: 0 / 484.1 MB, free: 2.871 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0003888/0.005098, allocations: 428.7 kB / 484.5 MB, free: 2.434 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.005127, allocations: 8.688 kB / 484.5 MB, free: 2.426 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.005303, allocations: 54.14 kB / 484.6 MB, free: 2.375 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.005465, allocations: 181.4 kB / 484.8 MB, free: 2.172 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.005477, allocations: 12.91 kB / 484.8 MB, free: 2.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.005496, allocations: 20.38 kB / 484.8 MB, free: 2.141 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.005696, allocations: 268.7 kB / 485.1 MB, free: 1.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.005702, allocations: 192 / 485.1 MB, free: 1.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.005715, allocations: 8.375 kB / 485.1 MB, free: 1.832 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.00572, allocations: 7.938 kB / 485.1 MB, free: 1.824 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.301e-05/0.005783, allocations: 46.27 kB / 485.1 MB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.006177, allocations: 353.6 kB / 485.5 MB, free: 1.418 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.006287, allocations: 59.28 kB / 485.5 MB, free: 1.352 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.006316, allocations: 25.67 kB / 485.6 MB, free: 1.324 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.006329, allocations: 4 kB / 485.6 MB, free: 1.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.006347, allocations: 39.12 kB / 485.6 MB, free: 1.273 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.006348, allocations: 0 / 485.6 MB, free: 1.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001239/0.006472, allocations: 78.41 kB / 485.7 MB, free: 1.191 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.006522, allocations: 132.5 kB / 485.8 MB, free: 1.031 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.686e-05/0.006618, allocations: 179 kB / 486 MB, free: 0.8477 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.006643, allocations: 34.33 kB / 486 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.006701, allocations: 140.3 kB / 486.2 MB, free: 0.668 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.006719, allocations: 32.36 kB / 486.2 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.006757, allocations: 37.69 kB / 486.2 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.006829, allocations: 335.3 kB / 486.5 MB, free: 264 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.006848, allocations: 8.594 kB / 486.6 MB, free: 256 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.00691, allocations: 137.3 kB / 486.7 MB, free: 84 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.006956, allocations: 41 kB / 486.7 MB, free: 40 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006958, allocations: 9.781 kB / 486.7 MB, free: 32 kB / 442.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.904e-05/0.007047, allocations: 77.59 kB / 486.8 MB, free: 15.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.007056, allocations: 5.875 kB / 486.8 MB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.007059, allocations: 0 / 486.8 MB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.007068, allocations: 4.562 kB / 486.8 MB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.319e-05/0.007112, allocations: 15.98 kB / 486.8 MB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-06/0.007114, allocations: 5 kB / 486.8 MB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.007149, allocations: 11.89 kB / 486.9 MB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.007155, allocations: 4.75 kB / 486.9 MB, free: 15.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.497e-05/0.00722, allocations: 129.6 kB / 487 MB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.007243, allocations: 19.98 kB / 487 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.007267, allocations: 18.25 kB / 487 MB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.007268, allocations: 0 / 487 MB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.00727, allocations: 0.9062 kB / 487 MB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.007272, allocations: 0 / 487 MB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.007383, allocations: 121.8 kB / 487.1 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007384, allocations: 4.656 kB / 487.1 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.007412, allocations: 11.98 kB / 487.2 MB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.007415, allocations: 5.156 kB / 487.2 MB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.007421, allocations: 4 kB / 487.2 MB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.007422, allocations: 0 / 487.2 MB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.007423, allocations: 5.891 kB / 487.2 MB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.845e-05/0.007512, allocations: 159.5 kB / 487.3 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.007526, allocations: 23.72 kB / 487.4 MB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.007543, allocations: 8 kB / 487.4 MB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.007595, allocations: 8.734 kB / 487.4 MB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.007642, allocations: 27.95 kB / 487.4 MB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.007648, allocations: 6.219 kB / 487.4 MB, free: 15.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.425e-05/0.007682, allocations: 57.73 kB / 487.5 MB, free: 15.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007682, allocations: 1.312 kB / 487.5 MB, free: 15.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001307/0.007813, allocations: 35.89 kB / 487.5 MB, free: 15.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.319e-05/0.007876, allocations: 85.45 kB / 487.6 MB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.536e-05/0.007961, allocations: 53.64 kB / 487.6 MB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.007964, allocations: 0 / 487.6 MB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.367e-05/0.007997, allocations: 32.8 kB / 487.7 MB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.008126, allocations: 26.86 kB / 487.7 MB, free: 15.03 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.00862, allocations: 328.5 kB / 488 MB, free: 14.69 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.008665, allocations: 75.83 kB / 488.1 MB, free: 14.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.603e-05/0.008711, allocations: 17.67 kB / 488.1 MB, free: 14.58 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.481e-05/0.008795, allocations: 83.88 kB / 488.2 MB, free: 14.5 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008796, allocations: 0 / 488.2 MB, free: 14.5 MB / 458.7 MB Notification: Performance of Templates: time 0.00336/0.01216, allocations: 2.121 MB / 490.3 MB, free: 12.58 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5148059357888997]