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.0009529/0.0009529, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001318/0.001318, allocations: 169 kB / 23.02 MB, free: 1.547 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.9765/0.9765, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7776/0.7776, allocations: 154.6 MB / 414.5 MB, free: 0.6914 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.332e-06/1.332e-06, allocations: 0 / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.894e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002655/0.002684, allocations: 2.067 MB / 0.5224 GB, free: 152 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009809/0.003665, allocations: 0.6367 MB / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003765, allocations: 4.562 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.003894, allocations: 19.73 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.433e-05/0.003969, allocations: 44.97 kB / 0.5231 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.004336, allocations: 104.2 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.004558, allocations: 233.1 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.004737, allocations: 80.02 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.004948, allocations: 148.7 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.353e-05/0.005041, allocations: 75.77 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.005069, allocations: 20 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.319e-05/0.005142, allocations: 28.62 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.005196, allocations: 55.77 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.005253, allocations: 65.45 kB / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.005472, allocations: 171.3 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005474, allocations: 0 / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.263e-06/0.005475, allocations: 7.875 kB / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.00548, allocations: 1 kB / 0.524 GB, free: 14.47 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.0005637/0.006043, allocations: 0.5346 MB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.006083, allocations: 12.94 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.006326, allocations: 57.95 kB / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.00656, allocations: 204.8 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.006577, allocations: 16.38 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.006599, allocations: 17.19 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.006883, allocations: 270.5 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.006891, allocations: 0.7188 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.006907, allocations: 9.219 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.006919, allocations: 7.938 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.007026, allocations: 64.52 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.007627, allocations: 0.504 MB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.007804, allocations: 78.27 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.007852, allocations: 31.67 kB / 0.5257 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.007867, allocations: 0 / 0.5257 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.007894, allocations: 41.39 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.007895, allocations: 0 / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002183/0.008113, allocations: 105.6 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.00817, allocations: 132.5 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.008314, allocations: 250.3 kB / 0.5263 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.008337, allocations: 33.7 kB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.008434, allocations: 191.1 kB / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.008459, allocations: 36.25 kB / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.008508, allocations: 43.92 kB / 0.5265 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.008631, allocations: 0.5 MB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.00867, allocations: 16.92 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.162e-05/0.008752, allocations: 155.5 kB / 0.5272 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.336e-05/0.008825, allocations: 52.92 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008827, allocations: 3.938 kB / 0.5273 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001305/0.008958, allocations: 112.8 kB / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.008972, allocations: 4.969 kB / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008976, allocations: 0 / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.008989, allocations: 4 kB / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.429e-05/0.009043, allocations: 13.33 kB / 0.5274 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.009048, allocations: 7.938 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.00909, allocations: 11.94 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.009099, allocations: 6.75 kB / 0.5274 GB, free: 10.7 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 9.74e-05/0.009196, allocations: 170.7 kB / 0.5276 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.009223, allocations: 19.89 kB / 0.5276 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.009252, allocations: 21.47 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.009254, allocations: 0 / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.009259, allocations: 4 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.009262, allocations: 2.312 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.00942, allocations: 188.5 kB / 0.5278 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.009421, allocations: 0 / 0.5278 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.009457, allocations: 19.92 kB / 0.5278 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.00946, allocations: 0 / 0.5278 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.009469, allocations: 4 kB / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.00947, allocations: 0.75 kB / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.009471, allocations: 48 / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.009624, allocations: 244.6 kB / 0.5281 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.009641, allocations: 19.89 kB / 0.5281 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.009663, allocations: 4.656 kB / 0.5281 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.009711, allocations: 11.44 kB / 0.5281 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.009777, allocations: 23.95 kB / 0.5281 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.009785, allocations: 7.984 kB / 0.5281 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.652e-05/0.009862, allocations: 175.2 kB / 0.5283 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009862, allocations: 0 / 0.5283 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000164/0.01003, allocations: 31.89 kB / 0.5283 GB, free: 9.719 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 8.416e-05/0.01011, allocations: 103.2 kB / 0.5284 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.01026, allocations: 70.5 kB / 0.5285 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01026, allocations: 0 / 0.5285 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.01031, allocations: 39.61 kB / 0.5285 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.0105, allocations: 24.84 kB / 0.5285 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.01115, allocations: 344.1 kB / 0.5289 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.49e-05/0.01119, allocations: 71.83 kB / 0.5289 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.997e-05/0.01124, allocations: 16.14 kB / 0.529 GB, free: 9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.01129, allocations: 24.48 kB / 0.529 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of SimCode: time 8.21e-07/0.01129, allocations: 6.438 kB / 0.529 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of Templates: time 0.003785/0.01508, allocations: 2.11 MB / 0.531 GB, free: 7.023 MB / 0.4948 GB " [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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6549822660163045]