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.0008482/0.0008482, allocations: 76.55 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.001226/0.001226, allocations: 181.9 kB / 23.22 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.8972/0.8972, allocations: 177.1 MB / 203.5 MB, free: 5.727 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-531:190: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-531:198: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.7333/0.7333, allocations: 154.6 MB / 414.5 MB, free: 0.8398 MB / 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.493e-06/1.493e-06, allocations: 0 / 0.6193 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.124e-05, allocations: 2.844 kB / 0.6193 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002251/0.002272, allocations: 2.012 MB / 0.6212 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.000812/0.003084, allocations: 0.6117 MB / 0.6218 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.474e-05/0.003179, allocations: 7.938 kB / 0.6218 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.003292, allocations: 19.73 kB / 0.6219 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 5.74e-05/0.003349, allocations: 43.53 kB / 0.6219 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.003662, allocations: 99.77 kB / 0.622 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.00385, allocations: 236 kB / 0.6222 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.004024, allocations: 76.03 kB / 0.6223 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.004209, allocations: 151.6 kB / 0.6224 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 8.817e-05/0.004297, allocations: 71.77 kB / 0.6225 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.004324, allocations: 24 kB / 0.6225 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 6.889e-05/0.004393, allocations: 35.98 kB / 0.6226 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.004447, allocations: 55.83 kB / 0.6226 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.004504, allocations: 67.77 kB / 0.6227 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.004773, allocations: 295 kB / 0.623 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004775, allocations: 0 / 0.623 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004776, allocations: 0 / 0.623 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.004781, allocations: 0 / 0.623 GB, free: 8.355 MB / 0.5417 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.0005367/0.005317, allocations: 469.1 kB / 0.6234 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.005359, allocations: 9.469 kB / 0.6234 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.005547, allocations: 44.77 kB / 0.6235 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.005811, allocations: 201.3 kB / 0.6237 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.005829, allocations: 12.38 kB / 0.6237 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.005849, allocations: 24.38 kB / 0.6237 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.006151, allocations: 302.2 kB / 0.624 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.00616, allocations: 192 / 0.624 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.006176, allocations: 4.375 kB / 0.624 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.006183, allocations: 7.938 kB / 0.624 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.006366, allocations: 147.6 kB / 0.6241 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.007112, allocations: 487.7 kB / 0.6246 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.007353, allocations: 110.7 kB / 0.6247 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.339e-05/0.007417, allocations: 44.91 kB / 0.6248 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.007434, allocations: 0 / 0.6248 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.007454, allocations: 38.56 kB / 0.6248 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.007455, allocations: 0 / 0.6248 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0002876/0.007743, allocations: 165.7 kB / 0.6249 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.007793, allocations: 132.5 kB / 0.6251 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.007911, allocations: 189.9 kB / 0.6253 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.007933, allocations: 37.69 kB / 0.6253 GB, free: 5.789 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.008009, allocations: 152.3 kB / 0.6254 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.008029, allocations: 27.81 kB / 0.6255 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.008076, allocations: 37.7 kB / 0.6255 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.008158, allocations: 334.8 kB / 0.6258 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.008227, allocations: 43.98 kB / 0.6259 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.008332, allocations: 169.3 kB / 0.626 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.008442, allocations: 80.94 kB / 0.6261 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008444, allocations: 0 / 0.6261 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001765/0.00862, allocations: 153.5 kB / 0.6262 GB, free: 4.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.008633, allocations: 4 kB / 0.6262 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.008638, allocations: 0 / 0.6262 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.008651, allocations: 11.97 kB / 0.6263 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.008706, allocations: 15.98 kB / 0.6263 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.008712, allocations: 0 / 0.6263 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.008776, allocations: 35.88 kB / 0.6263 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.008783, allocations: 3.984 kB / 0.6263 GB, free: 4.68 MB / 0.5417 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 8.701e-05/0.00887, allocations: 140.9 kB / 0.6264 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.008892, allocations: 19.91 kB / 0.6265 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.008922, allocations: 29.45 kB / 0.6265 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.008924, allocations: 384 / 0.6265 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.008927, allocations: 0 / 0.6265 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.00893, allocations: 0 / 0.6265 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.009069, allocations: 181.2 kB / 0.6267 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.009069, allocations: 3.938 kB / 0.6267 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.009108, allocations: 15.98 kB / 0.6267 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.009109, allocations: 0 / 0.6267 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.009121, allocations: 8 kB / 0.6267 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.009122, allocations: 0 / 0.6267 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.009123, allocations: 0 / 0.6267 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.009306, allocations: 235.2 kB / 0.6269 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.009324, allocations: 19.84 kB / 0.6269 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.009346, allocations: 8 kB / 0.6269 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.009421, allocations: 19.97 kB / 0.627 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.009483, allocations: 31.89 kB / 0.627 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.009487, allocations: 0 / 0.627 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.024e-05/0.009557, allocations: 143 kB / 0.6271 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.009557, allocations: 0 / 0.6271 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001664/0.009724, allocations: 43.89 kB / 0.6272 GB, free: 3.746 MB / 0.5417 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.982e-05/0.009804, allocations: 103.2 kB / 0.6273 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.009989, allocations: 103.9 kB / 0.6274 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009991, allocations: 0 / 0.6274 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.015e-05/0.01006, allocations: 51.91 kB / 0.6274 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.01026, allocations: 25.97 kB / 0.6274 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.01071, allocations: 356 kB / 0.6278 GB, free: 3.078 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.096e-05/0.01079, allocations: 121.3 kB / 0.6279 GB, free: 2.938 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.01084, allocations: 32.48 kB / 0.6279 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of SimCode: time 5.51e-07/0.01084, allocations: 0 / 0.6279 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of Templates: time 0.002658/0.0135, allocations: 2.342 MB / 0.6302 GB, free: 0.5781 MB / 0.5417 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0937053598463535] Failed to read output from testmodel.py, exit status != 0: 0.01844630017876625 0.02608558 0.019681831 Calling exit ...