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.0008239/0.0008239, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007741/0.0007741, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8537/0.8537, allocations: 177.1 MB / 203.5 MB, free: 5.738 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-531:686: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-531:694: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.6788/0.6788, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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.553e-06/1.553e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.162e-05, allocations: 9.234 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002189/0.00221, allocations: 2.01 MB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007872/0.002998, allocations: 0.6194 MB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.38e-05/0.003092, allocations: 4 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.003213, allocations: 19.73 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.003269, allocations: 43.53 kB / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.003573, allocations: 103.8 kB / 0.6221 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.003765, allocations: 236 kB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.003931, allocations: 83.95 kB / 0.6224 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.004109, allocations: 135.7 kB / 0.6225 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.609e-05/0.004195, allocations: 79.7 kB / 0.6226 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.004221, allocations: 24 kB / 0.6226 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.113e-05/0.004282, allocations: 39.92 kB / 0.6226 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.00433, allocations: 51.83 kB / 0.6227 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.004382, allocations: 71.77 kB / 0.6228 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.004621, allocations: 287.1 kB / 0.623 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004623, allocations: 0 / 0.623 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004624, allocations: 4 kB / 0.623 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.004627, allocations: 0 / 0.623 GB, free: 9.352 MB / 0.5886 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.0005094/0.005137, allocations: 469 kB / 0.6235 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.005171, allocations: 12.02 kB / 0.6235 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.005342, allocations: 40.78 kB / 0.6235 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.005589, allocations: 206 kB / 0.6237 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.005603, allocations: 16.31 kB / 0.6238 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.005623, allocations: 20.38 kB / 0.6238 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.005912, allocations: 298.5 kB / 0.6241 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.005921, allocations: 192 / 0.6241 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.005936, allocations: 4.375 kB / 0.6241 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.005943, allocations: 7.938 kB / 0.6241 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.006126, allocations: 147.6 kB / 0.6242 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.006677, allocations: 479.7 kB / 0.6247 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.006902, allocations: 110.7 kB / 0.6248 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.851e-05/0.006971, allocations: 44.91 kB / 0.6248 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.006987, allocations: 0 / 0.6248 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.007006, allocations: 38.56 kB / 0.6249 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/0.007007, allocations: 4 kB / 0.6249 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002823/0.007289, allocations: 161.9 kB / 0.625 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.007339, allocations: 132.6 kB / 0.6251 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.007457, allocations: 196.9 kB / 0.6253 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.007474, allocations: 33.7 kB / 0.6254 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.007544, allocations: 144.4 kB / 0.6255 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.007565, allocations: 35.73 kB / 0.6255 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.007606, allocations: 33.7 kB / 0.6256 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003562/0.007962, allocations: 334.8 kB / 0.6259 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.008033, allocations: 43.98 kB / 0.6259 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.008141, allocations: 176 kB / 0.6261 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.008252, allocations: 77.69 kB / 0.6262 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.008255, allocations: 0 / 0.6262 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001692/0.008424, allocations: 149.5 kB / 0.6263 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.008436, allocations: 8 kB / 0.6263 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.008441, allocations: 0 / 0.6263 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.008454, allocations: 4 kB / 0.6263 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.008508, allocations: 15.98 kB / 0.6263 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.008513, allocations: 0 / 0.6263 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.008576, allocations: 35.86 kB / 0.6264 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.008584, allocations: 0 / 0.6264 GB, free: 5.691 MB / 0.5886 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.161e-05/0.008676, allocations: 144.4 kB / 0.6265 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.008697, allocations: 19.91 kB / 0.6265 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.008731, allocations: 25.45 kB / 0.6265 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.008733, allocations: 3.938 kB / 0.6266 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.008738, allocations: 0 / 0.6266 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.008741, allocations: 0 / 0.6266 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.008895, allocations: 193.1 kB / 0.6267 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.008896, allocations: 0 / 0.6267 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.008935, allocations: 15.98 kB / 0.6268 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.008937, allocations: 0 / 0.6268 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.008948, allocations: 8 kB / 0.6268 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.008949, allocations: 4 kB / 0.6268 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.008951, allocations: 3.938 kB / 0.6268 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.009131, allocations: 223.3 kB / 0.627 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.009147, allocations: 19.88 kB / 0.627 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.009167, allocations: 8 kB / 0.627 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.009236, allocations: 24 kB / 0.627 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.009296, allocations: 27.89 kB / 0.6271 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.009301, allocations: 4 kB / 0.6271 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.965e-05/0.009371, allocations: 144.2 kB / 0.6272 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009371, allocations: 0 / 0.6272 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001682/0.009539, allocations: 39.89 kB / 0.6272 GB, free: 4.75 MB / 0.5886 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 7.499e-05/0.009614, allocations: 106.1 kB / 0.6273 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.009801, allocations: 103.9 kB / 0.6274 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.009803, allocations: 3.984 kB / 0.6274 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.009872, allocations: 51.98 kB / 0.6275 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.01007, allocations: 19.94 kB / 0.6275 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.01047, allocations: 347.2 kB / 0.6278 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.088e-05/0.01055, allocations: 125.1 kB / 0.628 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.01061, allocations: 28.48 kB / 0.628 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.01061, allocations: 0 / 0.628 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of Templates: time 0.00263/0.01324, allocations: 2.341 MB / 0.6303 GB, free: 1.59 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0330371838063] Failed to read output from testmodel.py, exit status != 0: 0.017909517511725426 0.025189084 0.019087434 Calling exit ...