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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8634/0.8634, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.5 MB / 395.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009017/0.0009017, allocations: 102.4 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.761e-05/2.754e-05, allocations: 4 kB / 0.5536 GB, free: 8.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5308/0.5309, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.6873, allocations: 113.6 MB / 0.7449 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.6876, allocations: 87.94 kB / 0.7449 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009267/0.6969, allocations: 3.316 MB / 0.7482 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.276e-06/0.6969, allocations: 4 kB / 0.7482 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.697, allocations: 4 kB / 0.7482 GB, free: 5.641 MB / 0.5261 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.0006552/0.6976, allocations: 481.9 kB / 0.7487 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.6977, allocations: 8.031 kB / 0.7487 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.6977, allocations: 23.72 kB / 0.7487 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.698, allocations: 235.5 kB / 0.7489 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.6981, allocations: 4 kB / 0.7489 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.6981, allocations: 15.94 kB / 0.7489 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002333/0.6983, allocations: 115.7 kB / 0.749 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.6987, allocations: 177.1 kB / 0.7492 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.6987, allocations: 0 / 0.7492 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.6987, allocations: 3.938 kB / 0.7492 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6987, allocations: 4 kB / 0.7492 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008939/0.6996, allocations: 0.5628 MB / 0.7498 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.6999, allocations: 106.8 kB / 0.7499 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.668e-05/0.7, allocations: 41.05 kB / 0.7499 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.7, allocations: 3.938 kB / 0.7499 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.7001, allocations: 42.52 kB / 0.7499 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.7001, allocations: 0 / 0.7499 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0002641/0.7004, allocations: 105.4 kB / 0.75 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.7005, allocations: 136.5 kB / 0.7502 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.7006, allocations: 162.2 kB / 0.7503 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.7006, allocations: 33.7 kB / 0.7504 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.7008, allocations: 152.2 kB / 0.7505 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.7008, allocations: 19.7 kB / 0.7505 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.7008, allocations: 4 kB / 0.7505 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.701, allocations: 322.8 kB / 0.7508 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.701, allocations: 36 kB / 0.7509 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.259e-05/0.7011, allocations: 63.44 kB / 0.7509 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.7012, allocations: 31.98 kB / 0.751 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7012, allocations: 4 kB / 0.751 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002109/0.7014, allocations: 121.5 kB / 0.7511 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.7015, allocations: 8 kB / 0.7511 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7015, allocations: 3.938 kB / 0.7511 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.7015, allocations: 3.953 kB / 0.7511 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.7016, allocations: 15.98 kB / 0.7511 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.7016, allocations: 4 kB / 0.7511 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.7018, allocations: 35.91 kB / 0.7512 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.7018, allocations: 4 kB / 0.7512 GB, free: 2.352 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.7019, allocations: 106.9 kB / 0.7513 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000189/0.7021, allocations: 113.4 kB / 0.7514 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.7022, allocations: 23.77 kB / 0.7514 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.7024, allocations: 119.4 kB / 0.7515 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.7024, allocations: 0 / 0.7515 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.7024, allocations: 0 / 0.7515 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.7025, allocations: 0 / 0.7515 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.7027, allocations: 234 kB / 0.7517 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7027, allocations: 288 / 0.7517 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.7028, allocations: 19.98 kB / 0.7517 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.7028, allocations: 4 kB / 0.7518 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.7028, allocations: 3.938 kB / 0.7518 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.7029, allocations: 11.89 kB / 0.7518 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7029, allocations: 48 / 0.7518 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.7031, allocations: 207.3 kB / 0.752 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.7032, allocations: 88.92 kB / 0.752 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.7032, allocations: 8 kB / 0.7521 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.7034, allocations: 31.97 kB / 0.7521 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.7035, allocations: 35.84 kB / 0.7521 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.7035, allocations: 0 / 0.7521 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.952e-05/0.7036, allocations: 129.2 kB / 0.7522 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7036, allocations: 0 / 0.7522 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000256/0.7039, allocations: 35.84 kB / 0.7523 GB, free: 1.117 MB / 0.5261 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005501/0.7044, allocations: 0.7358 MB / 0.753 GB, free: 360 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.7046, allocations: 94.55 kB / 0.7531 GB, free: 268 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7046, allocations: 0 / 0.7531 GB, free: 268 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.181e-05/0.7047, allocations: 40 kB / 0.7531 GB, free: 228 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.7049, allocations: 24.44 kB / 0.7531 GB, free: 200 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.7056, allocations: 255.3 kB / 0.7534 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.7059, allocations: 0.7318 MB / 0.7541 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.949e-05/0.706, allocations: 17.2 kB / 0.7541 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.7061, allocations: 63.41 kB / 0.7542 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of SimCode: time 1.834e-06/0.7061, allocations: 0 / 0.7542 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.7278, allocations: 3.045 MB / 0.7572 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.7281, allocations: 169.6 kB / 0.7573 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.486, allocations: 4.344 kB / 0.7573 GB, free: 11.86 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)