Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_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.001337/0.001337, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001584, allocations: 176.2 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6959/0.6959, allocations: 113.7 MB / 405.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005968/0.0005971, allocations: 12.75 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3119, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.8052/1.117, allocations: 58.51 MB / 0.6139 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03835/1.156, allocations: 12.16 MB / 0.6257 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006305/1.162, allocations: 62.28 kB / 0.6258 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006852/1.169, allocations: 0.7906 MB / 0.6266 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01778/1.187, allocations: 2.24 MB / 0.6287 GB, free: 8.895 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01257/1.199, allocations: 1.899 MB / 0.6306 GB, free: 7.895 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01261/1.212, allocations: 2.656 MB / 0.6332 GB, free: 6.152 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004917/1.217, allocations: 1.17 MB / 0.6343 GB, free: 5.434 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006763/1.224, allocations: 1.262 MB / 0.6356 GB, free: 4.664 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/1.228, allocations: 0.8321 MB / 0.6364 GB, free: 4.168 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006337/1.228, allocations: 67.44 kB / 0.6364 GB, free: 4.168 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008282/1.236, allocations: 1.16 MB / 0.6376 GB, free: 3.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001844/1.238, allocations: 311.5 kB / 0.6379 GB, free: 3.453 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002127/1.241, allocations: 402.1 kB / 0.6383 GB, free: 3.227 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/1.252, allocations: 2.426 MB / 0.6406 GB, free: 1.551 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/1.252, allocations: 0 / 0.6406 GB, free: 1.551 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.546e-06/1.252, allocations: 0 / 0.6406 GB, free: 1.551 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001725/1.252, allocations: 1.406 kB / 0.6406 GB, free: 1.551 MB / 462.1 MB 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.009895/1.262, allocations: 1.927 MB / 0.6425 GB, free: 96 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001225/1.262, allocations: 11.62 kB / 0.6425 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001003/1.263, allocations: 178.2 kB / 0.6427 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009135/1.273, allocations: 0.7379 MB / 0.6434 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006684/1.279, allocations: 1.438 MB / 0.6448 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003979/1.28, allocations: 133.6 kB / 0.6449 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006119/1.28, allocations: 115.2 kB / 0.6451 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007996/1.288, allocations: 1.671 MB / 0.6467 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001697/1.289, allocations: 3.938 kB / 0.6467 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002829/1.289, allocations: 53.66 kB / 0.6467 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.909e-05/1.289, allocations: 35.47 kB / 0.6468 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008279/1.297, allocations: 1.519 MB / 0.6483 GB, free: 12.14 MB / 478.1 MB 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.02502/1.323, allocations: 7.334 MB / 0.6554 GB, free: 4.426 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004082/1.327, allocations: 0.834 MB / 0.6562 GB, free: 3.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002434/1.329, allocations: 1.271 MB / 0.6575 GB, free: 2.039 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.981e-05/1.329, allocations: 43.06 kB / 0.6575 GB, free: 1.988 MB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 8.155e-06/1.329, allocations: 7.984 kB / 0.6575 GB, free: 1.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=70): time 0.04348/1.373, allocations: 4.28 MB / 0.6617 GB, free: 13.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.373, allocations: 115.4 kB / 0.6618 GB, free: 13.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003788/1.377, allocations: 1.402 MB / 0.6632 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003058/1.377, allocations: 41.7 kB / 0.6632 GB, free: 12.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001232/1.378, allocations: 0.6842 MB / 0.6639 GB, free: 11.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005641/1.379, allocations: 256.4 kB / 0.6641 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.86e-05/1.379, allocations: 12 kB / 0.6641 GB, free: 11.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002654/1.379, allocations: 341.9 kB / 0.6645 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003101/1.382, allocations: 0.5133 MB / 0.665 GB, free: 10.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003908/1.386, allocations: 0.7978 MB / 0.6658 GB, free: 9.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003414/1.39, allocations: 0.5613 MB / 0.6663 GB, free: 8.793 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/1.39, allocations: 4 kB / 0.6663 GB, free: 8.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01052/1.4, allocations: 1.62 MB / 0.6679 GB, free: 7.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.004688/1.405, allocations: 2.505 MB / 0.6703 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-05/1.405, allocations: 4 kB / 0.6703 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005518/1.411, allocations: 0.5664 MB / 0.6709 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002764/1.414, allocations: 251.6 kB / 0.6711 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004434/1.418, allocations: 1.172 MB / 0.6723 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005167/1.423, allocations: 275.3 kB / 0.6725 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003461/1.424, allocations: 55.94 kB / 0.6726 GB, free: 2.164 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/1.424, allocations: 4 kB / 0.6726 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008081/1.432, allocations: 1.472 MB / 0.674 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.034e-05/1.432, allocations: 8 kB / 0.674 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003139/1.435, allocations: 0.5701 MB / 0.6746 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/1.437, allocations: 255.6 kB / 0.6748 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003584/1.441, allocations: 1.166 MB / 0.676 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004364/1.445, allocations: 260.8 kB / 0.6762 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/1.446, allocations: 59.94 kB / 0.6763 GB, free: 14.35 MB / 0.4981 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.002138/1.448, allocations: 456.7 kB / 0.6767 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008929/1.449, allocations: 146.3 kB / 0.6769 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0084/1.457, allocations: 1.403 MB / 0.6782 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.878e-05/1.457, allocations: 12 kB / 0.6782 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/1.457, allocations: 4 kB / 0.6782 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006809/1.464, allocations: 1.211 MB / 0.6794 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/1.48, allocations: 3.524 MB / 0.6829 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-05/1.481, allocations: 4 kB / 0.6829 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.482, allocations: 155.9 kB / 0.683 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003065/1.485, allocations: 0.5473 MB / 0.6836 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/1.485, allocations: 31.97 kB / 0.6836 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/1.489, allocations: 1.166 MB / 0.6847 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/1.489, allocations: 4 kB / 0.6847 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007008/1.496, allocations: 1.703 MB / 0.6864 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001796/1.497, allocations: 414.8 kB / 0.6868 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008914/1.498, allocations: 16 kB / 0.6868 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002511/1.501, allocations: 171.7 kB / 0.687 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/1.501, allocations: 56.31 kB / 0.687 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/1.501, allocations: 39.95 kB / 0.6871 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002521/1.504, allocations: 0.9966 MB / 0.688 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.094e-06/1.504, allocations: 0 / 0.688 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004372/1.508, allocations: 0.9045 MB / 0.6889 GB, free: 0.9062 MB / 0.4981 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.00821/1.516, allocations: 3.749 MB / 0.6926 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00931/1.526, allocations: 1.902 MB / 0.6944 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.923e-05/1.526, allocations: 4 kB / 0.6944 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/1.528, allocations: 0.557 MB / 0.695 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005728/1.534, allocations: 0.7776 MB / 0.6957 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/1.555, allocations: 8.182 MB / 0.7037 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/1.559, allocations: 1.234 MB / 0.7049 GB, free: 136 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003446/1.562, allocations: 339.1 kB / 0.7053 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/1.564, allocations: 0.5539 MB / 0.7058 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of SimCode: time 1.663e-06/1.564, allocations: 0 / 0.7058 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8673/2.431, allocations: 50.2 MB / 0.7548 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003977/2.432, allocations: 263.7 kB / 0.7551 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.107/8.539, allocations: 3.938 kB / 0.7551 GB, free: 13.27 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1) Environment - environmentSimulation: