Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater",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.001132/0.001132, 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.001336/0.001336, 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.429/1.429, allocations: 223.2 MB / 240.5 MB, free: 5.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6403/0.6403, allocations: 113.7 MB / 405.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 8 kB / 493 MB, free: 8.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1872, allocations: 77.12 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.46/0.6473, allocations: 105.5 MB / 0.6597 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.6681, allocations: 13.11 MB / 0.6726 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003854/0.672, allocations: 63.56 kB / 0.6726 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004388/0.6764, allocations: 0.8239 MB / 0.6734 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.6866, allocations: 2.279 MB / 0.6756 GB, free: 184 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006925/0.6936, allocations: 1.991 MB / 0.6776 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005605/0.6992, allocations: 2.768 MB / 0.6803 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.7015, allocations: 1.244 MB / 0.6815 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.7053, allocations: 1.32 MB / 0.6828 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002163/0.7075, allocations: 0.8555 MB / 0.6836 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.7077, allocations: 72 kB / 0.6837 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.7114, allocations: 1.221 MB / 0.6849 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.7119, allocations: 334.7 kB / 0.6852 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006662/0.7125, allocations: 416.7 kB / 0.6856 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003412/0.716, allocations: 2.57 MB / 0.6881 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.716, allocations: 3.938 kB / 0.6881 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.716, allocations: 0 / 0.6881 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.695e-05/0.716, allocations: 0 / 0.6881 GB, free: 3.391 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.003877/0.7199, allocations: 2.043 MB / 0.6901 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.7199, allocations: 12.03 kB / 0.6901 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002305/0.7202, allocations: 185.8 kB / 0.6903 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/0.7255, allocations: 0.7431 MB / 0.691 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/0.7282, allocations: 1.565 MB / 0.6926 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.7283, allocations: 124.2 kB / 0.6927 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.7285, allocations: 132 kB / 0.6928 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003749/0.7323, allocations: 1.727 MB / 0.6945 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.7323, allocations: 0 / 0.6945 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.7325, allocations: 55.98 kB / 0.6945 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/0.7325, allocations: 43.98 kB / 0.6946 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004564/0.7371, allocations: 1.519 MB / 0.6961 GB, free: 11 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.01009/0.7472, allocations: 7.604 MB / 0.7035 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003975/0.7512, allocations: 1.192 MB / 0.7047 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.7525, allocations: 1.275 MB / 0.7059 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002261/0.7548, allocations: 0.6952 MB / 0.7066 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=80): time 2.935e-06/0.7548, allocations: 0 / 0.7066 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=80): time 0.01789/0.7727, allocations: 3.23 MB / 0.7097 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/0.7728, allocations: 137.2 kB / 0.7099 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.7748, allocations: 1.308 MB / 0.7111 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.775, allocations: 53.69 kB / 0.7112 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006031/0.7756, allocations: 0.7231 MB / 0.7119 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.776, allocations: 276.1 kB / 0.7122 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.7761, allocations: 16 kB / 0.7122 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7762, allocations: 341.9 kB / 0.7125 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.7784, allocations: 0.5289 MB / 0.713 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.7807, allocations: 0.802 MB / 0.7138 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/0.7827, allocations: 0.5807 MB / 0.7144 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.7827, allocations: 4 kB / 0.7144 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005337/0.7881, allocations: 1.664 MB / 0.716 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00103/0.7891, allocations: 2.409 MB / 0.7184 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.7892, allocations: 4 kB / 0.7184 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/0.7913, allocations: 0.5814 MB / 0.7189 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.7927, allocations: 247.6 kB / 0.7192 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.7946, allocations: 1.176 MB / 0.7203 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/0.7967, allocations: 239.5 kB / 0.7205 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.7968, allocations: 51.95 kB / 0.7206 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.7968, allocations: 8 kB / 0.7206 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004706/0.8015, allocations: 1.508 MB / 0.7221 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.8016, allocations: 8.031 kB / 0.7221 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/0.8034, allocations: 0.5677 MB / 0.7226 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.8047, allocations: 251.6 kB / 0.7229 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.8066, allocations: 1.17 MB / 0.724 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.8087, allocations: 230.2 kB / 0.7242 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.8088, allocations: 59.94 kB / 0.7243 GB, free: 12.98 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$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 (91): * Single equations (assignments): 90 * 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.0008352/0.8096, allocations: 471.5 kB / 0.7247 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.8099, allocations: 150.2 kB / 0.7249 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.8223, allocations: 2.17 MB / 0.727 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.8224, allocations: 8 kB / 0.727 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.8224, allocations: 4 kB / 0.727 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01169/0.8341, allocations: 2.001 MB / 0.729 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007967/0.8421, allocations: 3.68 MB / 0.7326 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.8421, allocations: 4 kB / 0.7326 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.8432, allocations: 175.9 kB / 0.7327 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001838/0.8451, allocations: 0.5513 MB / 0.7333 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.91e-05/0.8452, allocations: 39.94 kB / 0.7333 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.847, allocations: 1.162 MB / 0.7344 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.847, allocations: 8 kB / 0.7345 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004758/0.8518, allocations: 1.7 MB / 0.7361 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008737/0.8527, allocations: 418.8 kB / 0.7365 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.8529, allocations: 23.98 kB / 0.7365 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/0.8546, allocations: 166.9 kB / 0.7367 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.8547, allocations: 52.58 kB / 0.7367 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.8548, allocations: 55.92 kB / 0.7368 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00118/0.856, allocations: 0.8985 MB / 0.7377 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.856, allocations: 0 / 0.7377 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002332/0.8584, allocations: 0.9666 MB / 0.7386 GB, free: 13.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.006597/0.865, allocations: 3.428 MB / 0.742 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006487/0.8715, allocations: 2.037 MB / 0.744 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.8715, allocations: 4 kB / 0.744 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/0.8736, allocations: 0.6361 MB / 0.7446 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/0.8769, allocations: 0.738 MB / 0.7453 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009836/0.8868, allocations: 8.09 MB / 0.7532 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.8879, allocations: 1.29 MB / 0.7545 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002255/0.8902, allocations: 379.3 kB / 0.7548 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/0.8912, allocations: 0.628 MB / 0.7554 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of SimCode: time 1.673e-06/0.8912, allocations: 0 / 0.7554 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3578/1.249, allocations: 51.06 MB / 0.8053 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004029/1.25, allocations: 249.6 kB / 0.8055 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.792/5.041, allocations: 0 / 0.8055 GB, free: 9.805 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) Environment - environmentSimulation: