Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="BuildSysPro_BuildSysPro_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.001007/0.001007, allocations: 100.1 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.001216/0.001216, 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 1.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.058/1.058, allocations: 143.3 MB / 434.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003009, allocations: 8 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1559, allocations: 83.42 MB / 0.5974 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.3963/0.5523, allocations: 105.5 MB / 0.7004 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0229/0.5752, allocations: 13.15 MB / 0.7132 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003833/0.5791, allocations: 61.34 kB / 0.7133 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004113/0.5832, allocations: 0.8322 MB / 0.7141 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.5941, allocations: 2.279 MB / 0.7163 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008695/0.6028, allocations: 1.989 MB / 0.7183 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009661/0.6125, allocations: 2.759 MB / 0.721 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003943/0.6165, allocations: 1.249 MB / 0.7222 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.6209, allocations: 1.315 MB / 0.7235 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003011/0.6239, allocations: 0.8611 MB / 0.7243 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008562/0.6248, allocations: 74.66 kB / 0.7244 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006837/0.6317, allocations: 1.208 MB / 0.7256 GB, free: 6.738 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001828/0.6336, allocations: 347 kB / 0.7259 GB, free: 6.488 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00263/0.6363, allocations: 417.3 kB / 0.7263 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006855/0.6431, allocations: 2.723 MB / 0.7289 GB, free: 4.328 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6432, allocations: 0 / 0.7289 GB, free: 4.328 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6432, allocations: 4 kB / 0.729 GB, free: 4.324 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001146/0.6433, allocations: 1.344 kB / 0.729 GB, free: 4.324 MB / 0.545 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.005931/0.6493, allocations: 2.032 MB / 0.7309 GB, free: 2.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.6493, allocations: 9.625 kB / 0.7309 GB, free: 2.785 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005446/0.6499, allocations: 194.4 kB / 0.7311 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005884/0.6558, allocations: 0.7489 MB / 0.7319 GB, free: 2.141 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/0.6596, allocations: 1.558 MB / 0.7334 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.6598, allocations: 140.1 kB / 0.7335 GB, free: 392 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.6601, allocations: 131.9 kB / 0.7336 GB, free: 260 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004545/0.6647, allocations: 1.729 MB / 0.7353 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.6647, allocations: 0 / 0.7353 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.6649, allocations: 55.91 kB / 0.7354 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/0.665, allocations: 39.94 kB / 0.7354 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005062/0.6701, allocations: 1.519 MB / 0.7369 GB, free: 12.8 MB / 0.5606 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.01278/0.6829, allocations: 7.609 MB / 0.7443 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004242/0.6871, allocations: 1.188 MB / 0.7455 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.6887, allocations: 1.279 MB / 0.7467 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00243/0.6911, allocations: 0.703 MB / 0.7474 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 4.238e-06/0.6911, allocations: 0 / 0.7474 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.01853/0.7097, allocations: 3.226 MB / 0.7506 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.7098, allocations: 149.1 kB / 0.7507 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.7123, allocations: 1.308 MB / 0.752 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002459/0.7126, allocations: 49.7 kB / 0.7521 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008518/0.7135, allocations: 0.727 MB / 0.7528 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/0.7139, allocations: 276 kB / 0.753 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.835e-05/0.714, allocations: 20 kB / 0.753 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7142, allocations: 341.9 kB / 0.7534 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/0.7162, allocations: 0.5211 MB / 0.7539 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.7184, allocations: 0.8106 MB / 0.7547 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.7205, allocations: 0.5846 MB / 0.7552 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.7206, allocations: 4 kB / 0.7552 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005689/0.7263, allocations: 1.664 MB / 0.7569 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001073/0.7274, allocations: 2.401 MB / 0.7592 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.7274, allocations: 8 kB / 0.7592 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/0.7296, allocations: 0.5811 MB / 0.7598 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.7311, allocations: 251.6 kB / 0.76 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.7332, allocations: 1.171 MB / 0.7612 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/0.7357, allocations: 238.8 kB / 0.7614 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.7359, allocations: 51.95 kB / 0.7614 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7359, allocations: 4 kB / 0.7615 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005187/0.7411, allocations: 1.508 MB / 0.7629 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.7412, allocations: 8 kB / 0.7629 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.7432, allocations: 0.5761 MB / 0.7635 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.7445, allocations: 251.6 kB / 0.7637 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.7468, allocations: 1.173 MB / 0.7649 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.7491, allocations: 222.9 kB / 0.7651 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/0.7493, allocations: 63.94 kB / 0.7652 GB, free: 14.77 MB / 0.5919 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.001064/0.7504, allocations: 468.8 kB / 0.7656 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004935/0.7509, allocations: 154.1 kB / 0.7657 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/0.7637, allocations: 2.169 MB / 0.7679 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/0.7638, allocations: 8 kB / 0.7679 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.7638, allocations: 0 / 0.7679 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01238/0.7762, allocations: 1.994 MB / 0.7698 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009787/0.7861, allocations: 3.711 MB / 0.7734 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.7861, allocations: 192 / 0.7734 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.7872, allocations: 183.7 kB / 0.7736 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/0.7892, allocations: 0.5515 MB / 0.7742 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.7893, allocations: 31.95 kB / 0.7742 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.7913, allocations: 1.166 MB / 0.7753 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.7913, allocations: 4 kB / 0.7753 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005278/0.7966, allocations: 1.696 MB / 0.777 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/0.7978, allocations: 430.8 kB / 0.7774 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/0.7983, allocations: 12 kB / 0.7774 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/0.8003, allocations: 167.9 kB / 0.7776 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.8005, allocations: 60.58 kB / 0.7776 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/0.8006, allocations: 51.94 kB / 0.7777 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001529/0.8022, allocations: 0.9024 MB / 0.7786 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8022, allocations: 0 / 0.7786 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003285/0.8055, allocations: 0.9704 MB / 0.7795 GB, free: 15.7 MB / 0.6075 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.007378/0.8129, allocations: 3.439 MB / 0.7829 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006955/0.8199, allocations: 2.033 MB / 0.7849 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.8199, allocations: 0 / 0.7849 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.8222, allocations: 0.6438 MB / 0.7855 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004144/0.8263, allocations: 0.7412 MB / 0.7862 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.8388, allocations: 8.088 MB / 0.7941 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.84, allocations: 1.298 MB / 0.7954 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002229/0.8422, allocations: 380.7 kB / 0.7957 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.8433, allocations: 0.6242 MB / 0.7963 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of SimCode: time 1.833e-06/0.8433, allocations: 0 / 0.7963 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09046/0.9338, allocations: 51.52 MB / 0.8467 GB, free: 11.56 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/0.9341, allocations: 267.5 kB / 0.8469 GB, free: 11.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.398/4.332, allocations: 4 kB / 0.8469 GB, free: 11.2 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) Environment - environmentSimulation: