Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001018/0.001018, 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.001334/0.001334, 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 1.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.7986/0.7986, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.926e-05, allocations: 6.312 kB / 480.1 MB, free: 6.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002305/0.002324, allocations: 2.105 MB / 482.2 MB, free: 4.836 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007944/0.003118, allocations: 0.6465 MB / 482.8 MB, free: 4.191 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.003197, allocations: 6.625 kB / 482.8 MB, free: 4.188 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.003299, allocations: 23.67 kB / 482.8 MB, free: 4.164 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.003365, allocations: 41.45 kB / 482.9 MB, free: 4.133 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.003611, allocations: 103.8 kB / 483 MB, free: 4.031 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.003786, allocations: 233.1 kB / 483.2 MB, free: 3.805 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.003931, allocations: 82.66 kB / 483.3 MB, free: 3.719 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.004102, allocations: 151.6 kB / 483.4 MB, free: 3.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/0.004188, allocations: 72.22 kB / 483.5 MB, free: 3.5 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.004213, allocations: 24.88 kB / 483.5 MB, free: 3.477 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-05/0.00428, allocations: 27.98 kB / 483.6 MB, free: 3.449 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.004325, allocations: 52.89 kB / 483.6 MB, free: 3.398 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.004371, allocations: 67.77 kB / 483.7 MB, free: 3.332 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.004549, allocations: 175.3 kB / 483.8 MB, free: 3.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004551, allocations: 0.625 kB / 483.8 MB, free: 3.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004552, allocations: 0 / 483.8 MB, free: 3.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.004555, allocations: 0.625 kB / 483.8 MB, free: 3.16 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.0003995/0.004955, allocations: 431.4 kB / 484.3 MB, free: 2.719 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.004982, allocations: 8.656 kB / 484.3 MB, free: 2.711 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.005164, allocations: 49.52 kB / 484.3 MB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.005345, allocations: 178.6 kB / 484.5 MB, free: 2.465 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.005359, allocations: 17.09 kB / 484.5 MB, free: 2.449 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.005375, allocations: 16.38 kB / 484.5 MB, free: 2.434 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.005589, allocations: 266.4 kB / 484.8 MB, free: 2.133 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.005597, allocations: 0.9375 kB / 484.8 MB, free: 2.133 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.005608, allocations: 4.375 kB / 484.8 MB, free: 2.129 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.005617, allocations: 19.88 kB / 484.8 MB, free: 2.113 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.257e-05/0.005679, allocations: 38.59 kB / 484.9 MB, free: 2.074 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.00609, allocations: 357.9 kB / 485.2 MB, free: 1.707 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.006206, allocations: 59.8 kB / 485.3 MB, free: 1.641 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.006234, allocations: 29.48 kB / 485.3 MB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.006248, allocations: 5.297 kB / 485.3 MB, free: 1.605 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.00627, allocations: 34.56 kB / 485.3 MB, free: 1.562 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.006271, allocations: 0 / 485.3 MB, free: 1.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001315/0.006402, allocations: 77.8 kB / 485.4 MB, free: 1.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.006445, allocations: 129 kB / 485.5 MB, free: 1.324 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.006551, allocations: 187.7 kB / 485.7 MB, free: 1.129 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.00657, allocations: 33.7 kB / 485.7 MB, free: 1.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.006627, allocations: 138.2 kB / 485.9 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.006645, allocations: 32.8 kB / 485.9 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.006685, allocations: 37.67 kB / 486 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.006758, allocations: 330.7 kB / 486.3 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.006781, allocations: 17.02 kB / 486.3 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.006842, allocations: 133.3 kB / 486.4 MB, free: 376 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.859e-05/0.006891, allocations: 42.38 kB / 486.5 MB, free: 332 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006892, allocations: 0 / 486.5 MB, free: 332 kB / 442.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.62e-05/0.006978, allocations: 77.59 kB / 486.5 MB, free: 248 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.006988, allocations: 8.781 kB / 486.5 MB, free: 240 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.006992, allocations: 0 / 486.5 MB, free: 240 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.007003, allocations: 0 / 486.5 MB, free: 240 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.382e-05/0.007057, allocations: 17.7 kB / 486.6 MB, free: 224 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.00706, allocations: 4 kB / 486.6 MB, free: 220 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.908e-05/0.007099, allocations: 23.81 kB / 486.6 MB, free: 196 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.007107, allocations: 4 kB / 486.6 MB, free: 192 kB / 442.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.778e-05/0.007175, allocations: 125.8 kB / 486.7 MB, free: 56 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.007198, allocations: 16.52 kB / 486.7 MB, free: 40 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.007225, allocations: 21.45 kB / 486.8 MB, free: 16 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.007226, allocations: 4.719 kB / 486.8 MB, free: 12 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.007227, allocations: 0 / 486.8 MB, free: 12 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.00723, allocations: 0.7188 kB / 486.8 MB, free: 12 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.007358, allocations: 123.3 kB / 486.9 MB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.00736, allocations: 4.875 kB / 486.9 MB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.007401, allocations: 15.98 kB / 486.9 MB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.007403, allocations: 1.219 kB / 486.9 MB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.00741, allocations: 4 kB / 486.9 MB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.007411, allocations: 0 / 486.9 MB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.007413, allocations: 4.5 kB / 486.9 MB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.521e-05/0.007508, allocations: 159.5 kB / 487.1 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.007523, allocations: 20.75 kB / 487.1 MB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.007541, allocations: 8 kB / 487.1 MB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.839e-05/0.007589, allocations: 9.859 kB / 487.1 MB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.007637, allocations: 23.95 kB / 487.1 MB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.007643, allocations: 11.94 kB / 487.1 MB, free: 15.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.595e-05/0.007679, allocations: 52.55 kB / 487.2 MB, free: 15.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007679, allocations: 0 / 487.2 MB, free: 15.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001366/0.007815, allocations: 38.23 kB / 487.2 MB, free: 15.52 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.557e-05/0.007881, allocations: 88.41 kB / 487.3 MB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.745e-05/0.007968, allocations: 48.78 kB / 487.4 MB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.007971, allocations: 1.688 kB / 487.4 MB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.008008, allocations: 36.78 kB / 487.4 MB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.008146, allocations: 19.92 kB / 487.4 MB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005125/0.008659, allocations: 330.6 kB / 487.7 MB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.818e-05/0.008697, allocations: 71.83 kB / 487.8 MB, free: 14.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.033e-05/0.008747, allocations: 19.81 kB / 487.8 MB, free: 14.87 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.728e-05/0.008834, allocations: 83.36 kB / 487.9 MB, free: 14.79 MB / 458.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008835, allocations: 0 / 487.9 MB, free: 14.79 MB / 458.7 MB Notification: Performance of Templates: time 0.00346/0.01229, allocations: 2.119 MB / 490 MB, free: 12.88 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.611328952945769]