Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.373/2.373, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.769/1.769, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005383/0.0005383, allocations: 9.125 kB / 0.5069 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2604, allocations: 82.31 MB / 0.5873 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.6369/0.8974, allocations: 58.53 MB / 0.6444 GB, free: 18.65 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02845/0.926, allocations: 12.15 MB / 0.6563 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004721/0.9308, allocations: 56.28 kB / 0.6564 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005136/0.936, allocations: 0.7932 MB / 0.6571 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0144/0.9504, allocations: 2.216 MB / 0.6593 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01181/0.9623, allocations: 1.898 MB / 0.6611 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01054/0.9728, allocations: 2.651 MB / 0.6637 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00392/0.9768, allocations: 1.175 MB / 0.6649 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005819/0.9827, allocations: 1.267 MB / 0.6661 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003658/0.9864, allocations: 0.8178 MB / 0.6669 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007997/0.9873, allocations: 67.09 kB / 0.667 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007937/0.9952, allocations: 1.173 MB / 0.6681 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001403/0.9967, allocations: 305.8 kB / 0.6684 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.9985, allocations: 401.6 kB / 0.6688 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01007/1.009, allocations: 2.43 MB / 0.6712 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/1.009, allocations: 1.062 kB / 0.6712 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.36e-06/1.009, allocations: 0 / 0.6712 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001148/1.009, allocations: 0 / 0.6712 GB, free: 2.992 MB / 0.4981 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.009446/1.018, allocations: 1.928 MB / 0.6731 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.869e-05/1.018, allocations: 8.625 kB / 0.6731 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001022/1.019, allocations: 180.3 kB / 0.6732 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/1.03, allocations: 0.7288 MB / 0.674 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00684/1.037, allocations: 1.457 MB / 0.6754 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005588/1.038, allocations: 132.5 kB / 0.6755 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009301/1.039, allocations: 115.2 kB / 0.6756 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/1.049, allocations: 1.661 MB / 0.6772 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.855e-05/1.049, allocations: 5.969 kB / 0.6772 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000383/1.049, allocations: 50.34 kB / 0.6773 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/1.05, allocations: 40.95 kB / 0.6773 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/1.061, allocations: 1.519 MB / 0.6788 GB, free: 15.19 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03055/1.092, allocations: 7.327 MB / 0.686 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005684/1.098, allocations: 0.8364 MB / 0.6868 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002627/1.1, allocations: 1.264 MB / 0.688 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.951e-05/1.1, allocations: 53.08 kB / 0.6881 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 6.683e-06/1.1, allocations: 0 / 0.6881 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70): time 0.05718/1.158, allocations: 4.281 MB / 0.6923 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.158, allocations: 110.8 kB / 0.6924 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005061/1.163, allocations: 1.41 MB / 0.6937 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005186/1.164, allocations: 44.27 kB / 0.6938 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001238/1.165, allocations: 0.6812 MB / 0.6944 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006651/1.165, allocations: 238.3 kB / 0.6947 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/1.166, allocations: 23.81 kB / 0.6947 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000211/1.166, allocations: 338.3 kB / 0.695 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004336/1.17, allocations: 0.5129 MB / 0.6955 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005016/1.175, allocations: 0.7919 MB / 0.6963 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004437/1.18, allocations: 0.5639 MB / 0.6968 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.018e-05/1.18, allocations: 2.844 kB / 0.6968 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01092/1.191, allocations: 1.62 MB / 0.6984 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001623/1.193, allocations: 2.499 MB / 0.7009 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.301e-05/1.193, allocations: 9.672 kB / 0.7009 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003566/1.196, allocations: 0.5707 MB / 0.7014 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/1.199, allocations: 249.2 kB / 0.7017 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/1.203, allocations: 1.178 MB / 0.7028 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004939/1.208, allocations: 280.3 kB / 0.7031 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005092/1.208, allocations: 56.34 kB / 0.7031 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/1.208, allocations: 7.625 kB / 0.7031 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01058/1.219, allocations: 1.474 MB / 0.7046 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/1.219, allocations: 7.188 kB / 0.7046 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004005/1.223, allocations: 0.5722 MB / 0.7052 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/1.226, allocations: 253.2 kB / 0.7054 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00421/1.23, allocations: 1.163 MB / 0.7065 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005186/1.235, allocations: 253.2 kB / 0.7068 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005479/1.236, allocations: 59.5 kB / 0.7068 GB, free: 13.49 MB / 0.5294 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002252/1.238, allocations: 447.2 kB / 0.7073 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.24, allocations: 149.1 kB / 0.7074 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.25, allocations: 1.41 MB / 0.7088 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.652e-05/1.25, allocations: 7.125 kB / 0.7088 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.25, allocations: 4 kB / 0.7088 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008694/1.259, allocations: 1.212 MB / 0.71 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/1.279, allocations: 3.533 MB / 0.7134 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-05/1.279, allocations: 6.594 kB / 0.7134 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/1.281, allocations: 148.4 kB / 0.7136 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004385/1.286, allocations: 0.5491 MB / 0.7141 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/1.286, allocations: 29.34 kB / 0.7141 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004298/1.29, allocations: 1.165 MB / 0.7153 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/1.29, allocations: 4 kB / 0.7153 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00992/1.3, allocations: 1.71 MB / 0.7169 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/1.303, allocations: 410.9 kB / 0.7173 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001301/1.304, allocations: 16 kB / 0.7173 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004755/1.309, allocations: 171.5 kB / 0.7175 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000343/1.309, allocations: 56.25 kB / 0.7176 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003874/1.31, allocations: 47.89 kB / 0.7176 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004406/1.314, allocations: 0.9927 MB / 0.7186 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.525e-06/1.314, allocations: 4 kB / 0.7186 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008395/1.323, allocations: 0.9006 MB / 0.7195 GB, free: 3.219 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01431/1.337, allocations: 3.753 MB / 0.7231 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01161/1.349, allocations: 1.906 MB / 0.725 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.921e-05/1.349, allocations: 448 / 0.725 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003192/1.352, allocations: 0.5609 MB / 0.7255 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007503/1.36, allocations: 0.7721 MB / 0.7263 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0211/1.381, allocations: 8.181 MB / 0.7343 GB, free: 3.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/1.383, allocations: 1.238 MB / 0.7355 GB, free: 2.441 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003614/1.386, allocations: 336.2 kB / 0.7358 GB, free: 2.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00173/1.388, allocations: 0.5578 MB / 0.7364 GB, free: 1.555 MB / 0.545 GB Notification: Performance of SimCode: time 1.292e-06/1.388, allocations: 3.938 kB / 0.7364 GB, free: 1.551 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7238/2.112, allocations: 50.19 MB / 0.7854 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004409/2.112, allocations: 260.2 kB / 0.7856 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.141/8.254, allocations: 0 / 0.7856 GB, free: 15.59 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1) Environment - environmentSimulation: