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/Complex 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 177.4 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4853/0.4853, allocations: 90.82 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 221.3 MB / 348.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008616/0.0008618, allocations: 103 kB / 421.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.225e-05, allocations: 4 kB / 0.4897 GB, free: 5.285 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4112, allocations: 72.3 MB / 0.5603 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.593, allocations: 387.3 MB / 0.9385 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/1.594, allocations: 94.41 kB / 0.9386 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.903/3.497, allocations: 0.5604 GB / 1.499 GB, free: 84.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.292e-06/3.497, allocations: 2.156 kB / 1.499 GB, free: 84.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002287/3.497, allocations: 42.91 kB / 1.499 GB, free: 84.87 MB / 0.6042 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.004971/3.502, allocations: 1.861 MB / 1.501 GB, free: 83.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/3.502, allocations: 7.375 kB / 1.501 GB, free: 83.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004804/3.503, allocations: 175.1 kB / 1.501 GB, free: 83.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/3.508, allocations: 0.6672 MB / 1.502 GB, free: 83.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004143/3.512, allocations: 1.781 MB / 1.503 GB, free: 83.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/3.512, allocations: 127.2 kB / 1.504 GB, free: 83.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003246/3.512, allocations: 117.4 kB / 1.504 GB, free: 83.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/3.515, allocations: 1.468 MB / 1.505 GB, free: 83.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/3.515, allocations: 8.625 kB / 1.505 GB, free: 83.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/3.516, allocations: 51.92 kB / 1.505 GB, free: 83.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.903e-05/3.516, allocations: 53.66 kB / 1.505 GB, free: 83.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/3.518, allocations: 1.114 MB / 1.506 GB, free: 83.07 MB / 0.6042 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.009774/3.527, allocations: 7.077 MB / 1.513 GB, free: 79.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000943/3.528, allocations: 0.6129 MB / 1.514 GB, free: 79.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/3.529, allocations: 350.4 kB / 1.514 GB, free: 79.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/3.53, allocations: 1.271 MB / 1.515 GB, free: 78.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/3.53, allocations: 42.28 kB / 1.515 GB, free: 78.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=66): time 3.126e-06/3.53, allocations: 0 / 1.515 GB, free: 78.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66): time 0.001817/3.532, allocations: 0.8725 MB / 1.516 GB, free: 78.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/3.532, allocations: 110.8 kB / 1.516 GB, free: 78.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/3.533, allocations: 1.236 MB / 1.518 GB, free: 77.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/3.534, allocations: 44.8 kB / 1.518 GB, free: 77.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/3.534, allocations: 0.6941 MB / 1.518 GB, free: 77.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/3.534, allocations: 229.9 kB / 1.519 GB, free: 77.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/3.534, allocations: 19 kB / 1.519 GB, free: 77.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.762e-05/3.534, allocations: 338.4 kB / 1.519 GB, free: 77.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/3.535, allocations: 315.9 kB / 1.519 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/3.535, allocations: 0.5988 MB / 1.52 GB, free: 76.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/3.536, allocations: 371.2 kB / 1.52 GB, free: 76.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/3.536, allocations: 3.953 kB / 1.52 GB, free: 76.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001867/3.538, allocations: 1.17 MB / 1.521 GB, free: 76.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004131/3.538, allocations: 2.491 MB / 1.524 GB, free: 73.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/3.538, allocations: 10.12 kB / 1.524 GB, free: 73.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/3.54, allocations: 0.5206 MB / 1.524 GB, free: 73.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/3.541, allocations: 244.5 kB / 1.524 GB, free: 73.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/3.542, allocations: 1.079 MB / 1.525 GB, free: 72.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/3.545, allocations: 278.8 kB / 1.526 GB, free: 72.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/3.545, allocations: 54.17 kB / 1.526 GB, free: 72.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/3.545, allocations: 3.875 kB / 1.526 GB, free: 72.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001589/3.546, allocations: 1.013 MB / 1.527 GB, free: 72.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/3.546, allocations: 7.719 kB / 1.527 GB, free: 72.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/3.548, allocations: 0.5256 MB / 1.527 GB, free: 72.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/3.549, allocations: 232.5 kB / 1.528 GB, free: 72.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/3.55, allocations: 1.078 MB / 1.529 GB, free: 71.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/3.552, allocations: 246.6 kB / 1.529 GB, free: 71.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/3.552, allocations: 55.69 kB / 1.529 GB, free: 71.18 MB / 0.6042 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 (74): * Single equations (assignments): 73 * 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 {5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0002894/3.553, allocations: 158 kB / 1.529 GB, free: 71.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/3.553, allocations: 148.4 kB / 1.529 GB, free: 70.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/3.556, allocations: 1.076 MB / 1.53 GB, free: 70.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/3.556, allocations: 7.469 kB / 1.53 GB, free: 70.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/3.556, allocations: 3.625 kB / 1.53 GB, free: 70.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002725/3.559, allocations: 0.9453 MB / 1.531 GB, free: 70.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/3.564, allocations: 3.121 MB / 1.534 GB, free: 68.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/3.564, allocations: 2.812 kB / 1.534 GB, free: 68.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/3.565, allocations: 146.7 kB / 1.534 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/3.566, allocations: 499.2 kB / 1.535 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/3.566, allocations: 28.56 kB / 1.535 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/3.568, allocations: 1.07 MB / 1.536 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/3.568, allocations: 3.938 kB / 1.536 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/3.569, allocations: 1.316 MB / 1.537 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007617/3.57, allocations: 394.9 kB / 1.538 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/3.57, allocations: 18.45 kB / 1.538 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/3.572, allocations: 150.3 kB / 1.538 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/3.572, allocations: 60.3 kB / 1.538 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.207e-05/3.572, allocations: 42.84 kB / 1.538 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001198/3.573, allocations: 0.9542 MB / 1.539 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/3.573, allocations: 0 / 1.539 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00308/3.576, allocations: 0.9832 MB / 1.54 GB, free: 65.43 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * 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 (40): * Single equations (assignments): 37 * 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.004274/3.581, allocations: 3.568 MB / 1.543 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002925/3.584, allocations: 1.38 MB / 1.545 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/3.584, allocations: 0 / 1.545 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007943/3.584, allocations: 399.6 kB / 1.545 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004377/3.589, allocations: 0.7842 MB / 1.546 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006253/3.595, allocations: 2.289 MB / 1.548 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/3.596, allocations: 1.242 MB / 1.549 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002059/3.598, allocations: 435.3 kB / 1.55 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/3.598, allocations: 0.5319 MB / 1.55 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/3.598, allocations: 0 / 1.55 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08523/3.684, allocations: 57.68 MB / 1.606 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/3.684, allocations: 232.2 kB / 1.607 GB, free: 6.434 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.793/7.477, allocations: 4 kB / 1.607 GB, free: 6.43 MB / 0.6042 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)