Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.001516/0.001516, allocations: 180.2 kB / 7.651 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8832/0.8832, 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.68/1.68, allocations: 221.5 MB / 395.4 MB, free: 10.86 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.001288/0.001288, allocations: 99.44 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.241e-05, allocations: 8 kB / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.5423, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9455/1.488, allocations: 396.3 MB / 1.021 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/1.488, allocations: 91.56 kB / 1.021 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.133/3.621, allocations: 0.5555 GB / 1.577 GB, free: 23.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.774e-06/3.621, allocations: 0 / 1.577 GB, free: 23.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001465/3.621, allocations: 43.92 kB / 1.577 GB, free: 23.14 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00422/3.626, allocations: 1.841 MB / 1.578 GB, free: 21.24 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/3.626, allocations: 8.031 kB / 1.578 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004949/3.631, allocations: 0.6613 MB / 1.579 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004706/3.635, allocations: 1.793 MB / 1.581 GB, free: 18.72 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/3.636, allocations: 87.98 kB / 1.581 GB, free: 18.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/3.636, allocations: 72 kB / 1.581 GB, free: 18.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00211/3.638, allocations: 1.032 MB / 1.582 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/3.64, allocations: 1.279 MB / 1.583 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/3.64, allocations: 7.938 kB / 1.583 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/3.64, allocations: 4 kB / 1.583 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/3.64, allocations: 62.09 kB / 1.583 GB, free: 16.07 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.009453/3.65, allocations: 6.527 MB / 1.59 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000737/3.65, allocations: 0.515 MB / 1.59 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/3.651, allocations: 326.6 kB / 1.59 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/3.652, allocations: 1.271 MB / 1.592 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/3.652, allocations: 47.12 kB / 1.592 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 3.386e-06/3.652, allocations: 0 / 1.592 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.01067/3.663, allocations: 1.509 MB / 1.593 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/3.663, allocations: 107.4 kB / 1.593 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/3.664, allocations: 0.9709 MB / 1.594 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003097/3.665, allocations: 33.7 kB / 1.594 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00064/3.665, allocations: 0.7249 MB / 1.595 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/3.666, allocations: 220.8 kB / 1.595 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/3.666, allocations: 0 / 1.595 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001009/3.666, allocations: 341.9 kB / 1.596 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/3.666, allocations: 310.6 kB / 1.596 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/3.667, allocations: 0.5818 MB / 1.596 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/3.669, allocations: 0.4924 MB / 1.597 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/3.669, allocations: 4 kB / 1.597 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.5695/4.238, allocations: 1.75 MB / 1.599 GB, free: 98.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006463/4.239, allocations: 2.462 MB / 1.601 GB, free: 95.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/4.239, allocations: 7.406 kB / 1.601 GB, free: 95.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/4.24, allocations: 364.2 kB / 1.601 GB, free: 95.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/4.242, allocations: 251.1 kB / 1.602 GB, free: 95.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/4.244, allocations: 0.9572 MB / 1.603 GB, free: 95.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/4.247, allocations: 225.9 kB / 1.603 GB, free: 95.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/4.248, allocations: 53.7 kB / 1.603 GB, free: 95.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/4.248, allocations: 4 kB / 1.603 GB, free: 95.33 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01207/4.26, allocations: 1.606 MB / 1.604 GB, free: 95.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/4.26, allocations: 8.438 kB / 1.604 GB, free: 95.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009876/4.261, allocations: 364.8 kB / 1.605 GB, free: 95.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/4.262, allocations: 254.4 kB / 1.605 GB, free: 95.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/4.264, allocations: 0.9557 MB / 1.606 GB, free: 94.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/4.266, allocations: 192.2 kB / 1.606 GB, free: 94.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/4.266, allocations: 55.47 kB / 1.606 GB, free: 94.79 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: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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.0004215/4.267, allocations: 128 kB / 1.606 GB, free: 94.68 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01097/4.278, allocations: 1.509 MB / 1.608 GB, free: 94.63 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006976/4.278, allocations: 125.6 kB / 1.608 GB, free: 94.58 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/4.281, allocations: 0.9902 MB / 1.609 GB, free: 94.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/4.281, allocations: 8.391 kB / 1.609 GB, free: 94.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/4.281, allocations: 0 / 1.609 GB, free: 94.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002163/4.284, allocations: 0.8962 MB / 1.61 GB, free: 94.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00636/4.29, allocations: 2.607 MB / 1.612 GB, free: 93.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/4.29, allocations: 3.719 kB / 1.612 GB, free: 93.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009132/4.291, allocations: 147.3 kB / 1.612 GB, free: 93.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006938/4.292, allocations: 361.2 kB / 1.613 GB, free: 93.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-05/4.292, allocations: 28.88 kB / 1.613 GB, free: 93.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/4.293, allocations: 0.9445 MB / 1.614 GB, free: 93.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/4.293, allocations: 5.5 kB / 1.614 GB, free: 93.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/4.296, allocations: 1.731 MB / 1.615 GB, free: 92.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008247/4.297, allocations: 372.2 kB / 1.616 GB, free: 92.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/4.297, allocations: 7.125 kB / 1.616 GB, free: 92.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/4.299, allocations: 127.6 kB / 1.616 GB, free: 92.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/4.299, allocations: 54.81 kB / 1.616 GB, free: 92.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.559e-05/4.299, allocations: 52.28 kB / 1.616 GB, free: 92.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001098/4.3, allocations: 0.7373 MB / 1.617 GB, free: 92.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/4.3, allocations: 0 / 1.617 GB, free: 92.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003255/4.304, allocations: 0.97 MB / 1.618 GB, free: 92.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * 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.005769/4.309, allocations: 4.131 MB / 1.622 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003093/4.313, allocations: 1.265 MB / 1.623 GB, free: 90.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.915e-05/4.313, allocations: 4.75 kB / 1.623 GB, free: 90.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007348/4.313, allocations: 366.5 kB / 1.623 GB, free: 90.12 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003523/4.317, allocations: 0.5781 MB / 1.624 GB, free: 90.11 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006779/4.324, allocations: 2.245 MB / 1.626 GB, free: 89.44 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/4.325, allocations: 1.248 MB / 1.627 GB, free: 88.72 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002186/4.327, allocations: 399.9 kB / 1.628 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006707/4.327, allocations: 0.5452 MB / 1.628 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.423e-06/4.327, allocations: 0 / 1.628 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08427/4.412, allocations: 45.58 MB / 1.673 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/4.412, allocations: 185.7 kB / 1.673 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.769/8.18, allocations: 1.969 kB / 1.673 GB, free: 86.66 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)