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.001189/0.001189, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001117/0.001117, allocations: 173 kB / 23.49 MB, free: 1.055 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/1, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.8002/0.8002, allocations: 154.8 MB / 415.1 MB, free: 492 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.202e-06/1.202e-06, allocations: 3.938 kB / 0.5206 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.435e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002356/0.00238, allocations: 2.076 MB / 0.5226 GB, free: 208 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000853/0.003233, allocations: 0.6377 MB / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.944e-05/0.003323, allocations: 0 / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.309e-05/0.003416, allocations: 23.73 kB / 0.5233 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.836e-05/0.003474, allocations: 46.09 kB / 0.5233 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.003737, allocations: 91.88 kB / 0.5234 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.003919, allocations: 232 kB / 0.5236 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.004072, allocations: 91.89 kB / 0.5237 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.004245, allocations: 140.7 kB / 0.5238 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.004325, allocations: 79.7 kB / 0.5239 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.00435, allocations: 24.69 kB / 0.5239 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.474e-05/0.004405, allocations: 28 kB / 0.524 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.004451, allocations: 57.09 kB / 0.524 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.004506, allocations: 75.77 kB / 0.5241 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.004697, allocations: 179.2 kB / 0.5243 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.0047, allocations: 4.875 kB / 0.5243 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.61e-07/0.0047, allocations: 0 / 0.5243 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.004704, allocations: 0 / 0.5243 GB, free: 14.51 MB / 0.4948 GB 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.0004928/0.005196, allocations: 0.54 MB / 0.5248 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.005225, allocations: 8.875 kB / 0.5248 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002317/0.005456, allocations: 56.78 kB / 0.5249 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.005756, allocations: 202.5 kB / 0.525 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.005771, allocations: 16.38 kB / 0.5251 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.005791, allocations: 16.38 kB / 0.5251 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.006043, allocations: 282.1 kB / 0.5253 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.006049, allocations: 1.125 kB / 0.5253 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.006064, allocations: 12.38 kB / 0.5254 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.006072, allocations: 7.938 kB / 0.5254 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.006175, allocations: 61.33 kB / 0.5254 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.006691, allocations: 0.5073 MB / 0.5259 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.006861, allocations: 84.72 kB / 0.526 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.006905, allocations: 23.67 kB / 0.526 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.006917, allocations: 4.562 kB / 0.526 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.006936, allocations: 33.39 kB / 0.5261 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.006937, allocations: 1.094 kB / 0.5261 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0001865/0.007123, allocations: 105.5 kB / 0.5262 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.007169, allocations: 137.1 kB / 0.5263 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.007297, allocations: 250.2 kB / 0.5265 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.007314, allocations: 30.3 kB / 0.5266 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.007392, allocations: 199.6 kB / 0.5267 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.007411, allocations: 31.73 kB / 0.5268 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.007456, allocations: 44.2 kB / 0.5268 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.007566, allocations: 0.5 MB / 0.5273 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.007605, allocations: 20.95 kB / 0.5273 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.007683, allocations: 142.4 kB / 0.5275 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.949e-05/0.007753, allocations: 61.05 kB / 0.5275 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007754, allocations: 0 / 0.5275 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001244/0.007879, allocations: 101.5 kB / 0.5276 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.007889, allocations: 8 kB / 0.5276 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.007893, allocations: 2.938 kB / 0.5276 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.0079, allocations: 0 / 0.5276 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.27e-05/0.007953, allocations: 19.92 kB / 0.5277 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.007956, allocations: 0 / 0.5277 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.008008, allocations: 19.98 kB / 0.5277 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.008016, allocations: 8 kB / 0.5277 GB, free: 10.73 MB / 0.4948 GB 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 7.881e-05/0.008095, allocations: 170.9 kB / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.008122, allocations: 19.91 kB / 0.5279 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.008147, allocations: 21.47 kB / 0.5279 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.008149, allocations: 4.031 kB / 0.5279 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.008152, allocations: 0 / 0.5279 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.008155, allocations: 3.938 kB / 0.5279 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.008304, allocations: 205.8 kB / 0.5281 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.008304, allocations: 0 / 0.5281 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.008339, allocations: 11.98 kB / 0.5281 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.008341, allocations: 4 kB / 0.5281 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.00835, allocations: 5.031 kB / 0.5281 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.008352, allocations: 3.984 kB / 0.5281 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.008352, allocations: 1.156 kB / 0.5281 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.008498, allocations: 239.7 kB / 0.5283 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.008513, allocations: 15.91 kB / 0.5284 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.008533, allocations: 7.125 kB / 0.5284 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.026e-05/0.008594, allocations: 15.98 kB / 0.5284 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.008646, allocations: 23.95 kB / 0.5284 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.008653, allocations: 3.984 kB / 0.5284 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.114e-05/0.008724, allocations: 170.6 kB / 0.5286 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008724, allocations: 0 / 0.5286 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001664/0.00889, allocations: 35.89 kB / 0.5286 GB, free: 9.734 MB / 0.4948 GB 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.733e-05/0.008958, allocations: 114.2 kB / 0.5287 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.009085, allocations: 66.47 kB / 0.5288 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.009088, allocations: 4 kB / 0.5288 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.567e-05/0.009133, allocations: 32.14 kB / 0.5288 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.009313, allocations: 27.34 kB / 0.5288 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.009898, allocations: 337.2 kB / 0.5292 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.452e-05/0.009942, allocations: 75.83 kB / 0.5292 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.073e-05/0.009993, allocations: 15.27 kB / 0.5292 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.01004, allocations: 22 kB / 0.5293 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/0.01004, allocations: 0 / 0.5293 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of Templates: time 0.003291/0.01333, allocations: 2.139 MB / 0.5313 GB, free: 7.008 MB / 0.4948 GB " [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.808736122911796]