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/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_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_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.001056/0.001055, allocations: 172.5 kB / 7.646 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.9107/0.9107, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.81/1.81, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001081/0.001081, allocations: 109.6 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.597e-05/2.6e-05, allocations: 4 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.694/0.694, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.8976, allocations: 113.6 MB / 0.7449 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004345/0.8982, allocations: 91.92 kB / 0.7449 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0119/0.9101, allocations: 3.308 MB / 0.7482 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9101, allocations: 0 / 0.7482 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.9102, allocations: 8 kB / 0.7482 GB, free: 5.672 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.000839/0.911, allocations: 481.9 kB / 0.7486 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.9111, allocations: 12.03 kB / 0.7486 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.681e-05/0.9112, allocations: 23.72 kB / 0.7487 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.9115, allocations: 231.5 kB / 0.7489 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.9116, allocations: 7.984 kB / 0.7489 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.9116, allocations: 19.94 kB / 0.7489 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003228/0.912, allocations: 111.7 kB / 0.749 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.9124, allocations: 177.1 kB / 0.7492 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.9124, allocations: 11.92 kB / 0.7492 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.9125, allocations: 0 / 0.7492 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.9125, allocations: 4 kB / 0.7492 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.9137, allocations: 0.5589 MB / 0.7498 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/0.9141, allocations: 110.8 kB / 0.7499 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.9142, allocations: 40.86 kB / 0.7499 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.9143, allocations: 192 / 0.7499 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.9143, allocations: 42.45 kB / 0.7499 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.9143, allocations: 0 / 0.7499 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0003729/0.9147, allocations: 105.5 kB / 0.75 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/0.9148, allocations: 136.5 kB / 0.7502 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.915, allocations: 162.2 kB / 0.7503 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.9151, allocations: 37.69 kB / 0.7504 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.9152, allocations: 144.2 kB / 0.7505 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.9153, allocations: 19.72 kB / 0.7505 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.9153, allocations: 4 kB / 0.7505 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.9155, allocations: 326.8 kB / 0.7508 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.406e-05/0.9156, allocations: 36 kB / 0.7509 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.9157, allocations: 67.44 kB / 0.7509 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.9159, allocations: 31.11 kB / 0.751 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9159, allocations: 0 / 0.751 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002867/0.9162, allocations: 121.5 kB / 0.7511 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.9162, allocations: 9.875 kB / 0.7511 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.9162, allocations: 0 / 0.7511 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.9162, allocations: 3.953 kB / 0.7511 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.9164, allocations: 27.92 kB / 0.7511 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.9164, allocations: 4 kB / 0.7511 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.9166, allocations: 31.91 kB / 0.7512 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.9167, allocations: 4 kB / 0.7512 GB, free: 2.375 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.0001252/0.9168, allocations: 109 kB / 0.7513 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002736/0.9171, allocations: 113.5 kB / 0.7514 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.9171, allocations: 19.77 kB / 0.7514 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.9175, allocations: 123.4 kB / 0.7515 GB, free: 2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.9175, allocations: 0 / 0.7515 GB, free: 2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.9175, allocations: 0 / 0.7515 GB, free: 2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9175, allocations: 3.938 kB / 0.7515 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.9179, allocations: 230.1 kB / 0.7517 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9179, allocations: 0 / 0.7517 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.9181, allocations: 19.98 kB / 0.7517 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.9181, allocations: 4 kB / 0.7518 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.9181, allocations: 0 / 0.7518 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.9181, allocations: 3.953 kB / 0.7518 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.9181, allocations: 7.922 kB / 0.7518 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.9184, allocations: 199.3 kB / 0.752 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.9185, allocations: 88.92 kB / 0.752 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.9186, allocations: 4 kB / 0.752 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.9188, allocations: 35.97 kB / 0.7521 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.9189, allocations: 31.91 kB / 0.7521 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.919, allocations: 3.938 kB / 0.7521 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001334/0.9191, allocations: 129.2 kB / 0.7522 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9191, allocations: 0 / 0.7522 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004215/0.9195, allocations: 39.84 kB / 0.7523 GB, free: 1.145 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.0007349/0.9203, allocations: 0.7438 MB / 0.753 GB, free: 380 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.9206, allocations: 91.92 kB / 0.7531 GB, free: 288 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9206, allocations: 0 / 0.7531 GB, free: 288 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.9207, allocations: 40 kB / 0.7531 GB, free: 248 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.921, allocations: 24.12 kB / 0.7531 GB, free: 220 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008808/0.9219, allocations: 251.3 kB / 0.7534 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.9224, allocations: 0.7318 MB / 0.7541 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.9225, allocations: 17.23 kB / 0.7541 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.9226, allocations: 63.34 kB / 0.7542 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.9227, allocations: 7.938 kB / 0.7542 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.9501, allocations: 3.037 MB / 0.7572 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.9504, allocations: 174.1 kB / 0.7573 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.753, allocations: 4.031 kB / 0.7573 GB, free: 11.88 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)