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: translateModel(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 105 kB / 15.98 MB, free: 6.348 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.001215/0.001215, allocations: 194.5 kB / 16.9 MB, free: 6.191 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.341/1.341, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8889/0.8889, allocations: 122.9 MB / 413.6 MB, free: 20 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.91 kB / 0.4906 GB, free: 7.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3598, allocations: 77.94 MB / 0.5667 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1159/0.4758, allocations: 124.9 MB / 0.6887 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02313/0.499, allocations: 15.31 MB / 0.7037 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004097/0.5031, allocations: 67.56 kB / 0.7038 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00408/0.5073, allocations: 0.8317 MB / 0.7046 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008361/0.5157, allocations: 2.411 MB / 0.7069 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006107/0.5218, allocations: 1.963 MB / 0.7088 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007038/0.5289, allocations: 4.819 MB / 0.7135 GB, free: 4.254 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0038/0.5327, allocations: 1.695 MB / 0.7152 GB, free: 2.531 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005571/0.5383, allocations: 1.843 MB / 0.717 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.541, allocations: 1.373 MB / 0.7183 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009011/0.5419, allocations: 204 kB / 0.7185 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005208/0.5472, allocations: 2.011 MB / 0.7205 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008495/0.548, allocations: 0.5022 MB / 0.721 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001923/0.55, allocations: 1.081 MB / 0.722 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006145/0.5561, allocations: 3.689 MB / 0.7256 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5562, allocations: 4 kB / 0.7256 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.346e-06/0.5562, allocations: 0 / 0.7256 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001053/0.5563, allocations: 3.938 kB / 0.7257 GB, free: 7.801 MB / 0.5606 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.005296/0.5616, allocations: 2.451 MB / 0.728 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5616, allocations: 12.62 kB / 0.7281 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006297/0.568, allocations: 0.7088 MB / 0.7287 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/0.5713, allocations: 1.673 MB / 0.7304 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.5714, allocations: 128.2 kB / 0.7305 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002824/0.5717, allocations: 128 kB / 0.7306 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004493/0.5762, allocations: 1.735 MB / 0.7323 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.5763, allocations: 3.938 kB / 0.7323 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000225/0.5765, allocations: 56 kB / 0.7324 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.156e-05/0.5766, allocations: 35.98 kB / 0.7324 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00513/0.5817, allocations: 1.512 MB / 0.7339 GB, free: 15.12 MB / 0.5762 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.0118/0.5936, allocations: 7.545 MB / 0.7413 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004386/0.598, allocations: 1.161 MB / 0.7424 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.6001, allocations: 0.5958 MB / 0.743 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/0.6015, allocations: 1.271 MB / 0.7442 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002413/0.6039, allocations: 0.6913 MB / 0.7449 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.326e-06/0.6039, allocations: 4 kB / 0.7449 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.3048/0.9088, allocations: 3.17 MB / 0.748 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.9089, allocations: 140.5 kB / 0.7481 GB, free: 165 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/0.9119, allocations: 1.272 MB / 0.7494 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002899/0.9122, allocations: 51.27 kB / 0.7494 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007564/0.913, allocations: 0.7184 MB / 0.7501 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/0.9134, allocations: 278.5 kB / 0.7504 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006835/0.9141, allocations: 221.4 kB / 0.7506 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.9142, allocations: 346.9 kB / 0.7509 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.9165, allocations: 0.5266 MB / 0.7514 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/0.9189, allocations: 0.8022 MB / 0.7522 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004458/0.9234, allocations: 1.228 MB / 0.7534 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.641e-05/0.9234, allocations: 1.5 kB / 0.7534 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00678/0.9302, allocations: 1.659 MB / 0.755 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.9303, allocations: 11.11 kB / 0.7551 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.9303, allocations: 6.469 kB / 0.7551 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.9326, allocations: 0.5637 MB / 0.7556 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.9341, allocations: 248.2 kB / 0.7558 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.9363, allocations: 1.172 MB / 0.757 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.939, allocations: 230.9 kB / 0.7572 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002894/0.9393, allocations: 61.59 kB / 0.7573 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002884/0.9422, allocations: 0.8312 MB / 0.7581 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002195/0.9444, allocations: 0.7889 MB / 0.7589 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004017/0.9484, allocations: 1.217 MB / 0.76 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.615e-06/0.9484, allocations: 1.438 kB / 0.76 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005521/0.954, allocations: 1.639 MB / 0.7616 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.954, allocations: 8.75 kB / 0.7616 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.954, allocations: 5.25 kB / 0.7617 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/0.956, allocations: 0.5618 MB / 0.7622 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.9573, allocations: 245.6 kB / 0.7624 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.9592, allocations: 1.172 MB / 0.7636 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.9615, allocations: 203.2 kB / 0.7638 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/0.9617, allocations: 64.06 kB / 0.7638 GB, free: 157.9 MB / 0.5762 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 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005419/0.9623, allocations: 246 kB / 0.7641 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000623/0.9629, allocations: 147.2 kB / 0.7642 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.976, allocations: 2.124 MB / 0.7663 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.9761, allocations: 8.812 kB / 0.7663 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.9761, allocations: 0 / 0.7663 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01242/0.9885, allocations: 1.953 MB / 0.7682 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008612/0.9972, allocations: 3.642 MB / 0.7718 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.9972, allocations: 5.406 kB / 0.7718 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.9983, allocations: 169.2 kB / 0.7719 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001928/1, allocations: 0.5539 MB / 0.7725 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/1, allocations: 34.81 kB / 0.7725 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/1.002, allocations: 1.159 MB / 0.7736 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.002, allocations: 5.266 kB / 0.7736 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005153/1.007, allocations: 1.59 MB / 0.7752 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.008, allocations: 384.8 kB / 0.7756 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004873/1.009, allocations: 19.38 kB / 0.7756 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/1.011, allocations: 153.1 kB / 0.7757 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.011, allocations: 48.16 kB / 0.7758 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/1.012, allocations: 56.95 kB / 0.7758 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002015/1.014, allocations: 0.8733 MB / 0.7767 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.11e-07/1.014, allocations: 0 / 0.7767 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003844/1.017, allocations: 0.9695 MB / 0.7776 GB, free: 151 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002628/1.02, allocations: 0.8706 MB / 0.7785 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007679/1.028, allocations: 2.071 MB / 0.7805 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.028, allocations: 4.125 kB / 0.7805 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002274/1.03, allocations: 0.6294 MB / 0.7811 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004351/1.034, allocations: 0.7677 MB / 0.7819 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007055/1.042, allocations: 3.319 MB / 0.7851 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.043, allocations: 1.258 MB / 0.7863 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00229/1.045, allocations: 367.9 kB / 0.7867 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/1.046, allocations: 147.2 kB / 0.7868 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.372e-06/1.046, allocations: 0 / 0.7868 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.05481/1.1, allocations: 39.56 MB / 0.8255 GB, free: 106.1 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)