Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.001652/0.001652, allocations: 176.2 kB / 7.648 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.8317/0.8317, allocations: 133.6 MB / 141.6 MB, free: 2.898 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.759/1.759, 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.0009436/0.0009437, allocations: 100.8 kB / 478.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.745e-05, allocations: 8 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.543/0.5431, allocations: 82.31 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.547, allocations: 396.8 MB / 1.021 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/1.547, allocations: 86.45 kB / 1.021 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.114/3.661, allocations: 0.5582 GB / 1.58 GB, free: 20 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.695e-06/3.662, allocations: 4 kB / 1.58 GB, free: 19.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001675/3.662, allocations: 47.92 kB / 1.58 GB, free: 19.95 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004356/3.666, allocations: 1.982 MB / 1.582 GB, free: 17.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/3.666, allocations: 12.03 kB / 1.582 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004638/3.671, allocations: 0.6879 MB / 1.582 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003687/3.674, allocations: 1.865 MB / 1.584 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/3.675, allocations: 92.31 kB / 1.584 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/3.675, allocations: 84 kB / 1.584 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002011/3.677, allocations: 1.145 MB / 1.585 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/3.679, allocations: 1.445 MB / 1.587 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/3.679, allocations: 4 kB / 1.587 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/3.679, allocations: 7.953 kB / 1.587 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/3.679, allocations: 62.44 kB / 1.587 GB, free: 12.34 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009599/3.689, allocations: 7.087 MB / 1.594 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/3.69, allocations: 0.6573 MB / 1.594 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004623/3.69, allocations: 375.1 kB / 1.595 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/3.691, allocations: 1.271 MB / 1.596 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/3.691, allocations: 59.23 kB / 1.596 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 3.386e-06/3.692, allocations: 0 / 1.596 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.004522/3.696, allocations: 1.07 MB / 1.597 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/3.696, allocations: 192.7 kB / 1.597 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4849/4.181, allocations: 1.024 MB / 1.598 GB, free: 97.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003505/4.181, allocations: 32.88 kB / 1.598 GB, free: 97.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/4.183, allocations: 0.7769 MB / 1.599 GB, free: 97.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/4.183, allocations: 256.6 kB / 1.599 GB, free: 97 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/4.183, allocations: 0.9062 kB / 1.599 GB, free: 97 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001043/4.183, allocations: 343.7 kB / 1.6 GB, free: 96.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007891/4.184, allocations: 352.9 kB / 1.6 GB, free: 96.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/4.185, allocations: 0.6441 MB / 1.601 GB, free: 96.37 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/4.188, allocations: 0.5224 MB / 1.601 GB, free: 96.37 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/4.188, allocations: 6.188 kB / 1.601 GB, free: 96.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007182/4.195, allocations: 1.352 MB / 1.603 GB, free: 96.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001269/4.196, allocations: 2.47 MB / 1.605 GB, free: 93.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.19e-05/4.196, allocations: 7.969 kB / 1.605 GB, free: 93.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/4.197, allocations: 360.6 kB / 1.605 GB, free: 93.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/4.199, allocations: 271 kB / 1.606 GB, free: 93.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/4.201, allocations: 0.9559 MB / 1.606 GB, free: 93.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/4.204, allocations: 254.9 kB / 1.607 GB, free: 93.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/4.204, allocations: 60.58 kB / 1.607 GB, free: 93.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/4.204, allocations: 2.062 kB / 1.607 GB, free: 93.17 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005102/4.209, allocations: 1.181 MB / 1.608 GB, free: 93.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/4.209, allocations: 10.66 kB / 1.608 GB, free: 93.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009023/4.21, allocations: 367.8 kB / 1.608 GB, free: 93.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/4.212, allocations: 270.8 kB / 1.609 GB, free: 93.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/4.213, allocations: 0.9576 MB / 1.609 GB, free: 92.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/4.216, allocations: 214.5 kB / 1.61 GB, free: 92.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/4.216, allocations: 56.58 kB / 1.61 GB, free: 92.58 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007079/4.217, allocations: 140.8 kB / 1.61 GB, free: 92.47 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005751/4.223, allocations: 1.075 MB / 1.611 GB, free: 92.35 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007342/4.223, allocations: 141.4 kB / 1.611 GB, free: 92.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005147/4.229, allocations: 1.148 MB / 1.612 GB, free: 92.19 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/4.229, allocations: 7.344 kB / 1.612 GB, free: 92.19 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/4.229, allocations: 11.52 kB / 1.612 GB, free: 92.19 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003787/4.232, allocations: 1.028 MB / 1.613 GB, free: 92.01 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007966/4.24, allocations: 2.874 MB / 1.616 GB, free: 91.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/4.24, allocations: 3.812 kB / 1.616 GB, free: 91.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009906/4.241, allocations: 177.1 kB / 1.616 GB, free: 91.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007161/4.242, allocations: 366.6 kB / 1.617 GB, free: 91.56 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.561e-05/4.242, allocations: 16.55 kB / 1.617 GB, free: 91.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/4.243, allocations: 0.9455 MB / 1.617 GB, free: 91.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/4.243, allocations: 6.562 kB / 1.617 GB, free: 91.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/4.255, allocations: 2.438 MB / 1.62 GB, free: 90.45 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/4.256, allocations: 399.1 kB / 1.62 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/4.256, allocations: 20.36 kB / 1.62 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/4.258, allocations: 147.8 kB / 1.62 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/4.258, allocations: 80.25 kB / 1.62 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-05/4.258, allocations: 47.45 kB / 1.621 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001157/4.26, allocations: 0.7754 MB / 1.621 GB, free: 90.17 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/4.26, allocations: 3.812 kB / 1.621 GB, free: 90.17 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003518/4.263, allocations: 1.024 MB / 1.622 GB, free: 90.11 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01397/4.277, allocations: 4.705 MB / 1.627 GB, free: 88.01 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00387/4.281, allocations: 1.428 MB / 1.628 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/4.281, allocations: 0 / 1.628 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009806/4.282, allocations: 477.1 kB / 1.629 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/4.286, allocations: 0.6 MB / 1.629 GB, free: 87.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007807/4.293, allocations: 2.433 MB / 1.632 GB, free: 87.26 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/4.295, allocations: 1.304 MB / 1.633 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002565/4.297, allocations: 423.9 kB / 1.633 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008616/4.298, allocations: 0.6017 MB / 1.634 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/4.298, allocations: 2.219 kB / 1.634 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09104/4.389, allocations: 48.73 MB / 1.682 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/4.389, allocations: 195.5 kB / 1.682 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.654/8.043, allocations: 0 / 1.682 GB, free: 84.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)