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.001119/0.001119, allocations: 96.58 kB / 15.68 MB, free: 488 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.00134/0.00134, allocations: 175.7 kB / 16.57 MB, free: 6.387 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.322/1.322, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6639/0.6639, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003373, allocations: 8.906 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1358, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.3415/0.4773, allocations: 105.5 MB / 0.6599 GB, free: 420 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01838/0.4957, allocations: 13.13 MB / 0.6727 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.4979, allocations: 59.56 kB / 0.6727 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00228/0.5002, allocations: 0.8278 MB / 0.6735 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006165/0.5064, allocations: 2.278 MB / 0.6758 GB, free: 84 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005379/0.5118, allocations: 1.982 MB / 0.6777 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004908/0.5167, allocations: 2.764 MB / 0.6804 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.5186, allocations: 1.247 MB / 0.6816 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.5212, allocations: 1.312 MB / 0.6829 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.5226, allocations: 0.8593 MB / 0.6837 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.5228, allocations: 76 kB / 0.6838 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003696/0.5265, allocations: 1.213 MB / 0.685 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003715/0.5268, allocations: 338.7 kB / 0.6853 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005124/0.5274, allocations: 416.8 kB / 0.6857 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003375/0.5307, allocations: 2.566 MB / 0.6882 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.5308, allocations: 0 / 0.6882 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.925e-06/0.5308, allocations: 4 kB / 0.6882 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.149e-05/0.5308, allocations: 3.938 kB / 0.6882 GB, free: 3.305 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.003728/0.5345, allocations: 2.043 MB / 0.6902 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5346, allocations: 8.031 kB / 0.6902 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005527/0.5401, allocations: 0.747 MB / 0.691 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.5428, allocations: 1.554 MB / 0.6925 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.543, allocations: 140.1 kB / 0.6926 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.5432, allocations: 128 kB / 0.6927 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003767/0.547, allocations: 1.724 MB / 0.6944 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.547, allocations: 3.938 kB / 0.6944 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.5472, allocations: 60 kB / 0.6945 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/0.5472, allocations: 32 kB / 0.6945 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004627/0.5518, allocations: 1.531 MB / 0.696 GB, free: 11.1 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.5619, allocations: 7.596 MB / 0.7034 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/0.566, allocations: 1.194 MB / 0.7046 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.5672, allocations: 1.271 MB / 0.7058 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002172/0.5694, allocations: 0.6952 MB / 0.7065 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=80): time 3.045e-06/0.5694, allocations: 4 kB / 0.7065 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=80): time 0.0179/0.5873, allocations: 3.23 MB / 0.7097 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.5874, allocations: 137.2 kB / 0.7098 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.5892, allocations: 1.316 MB / 0.7111 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.5893, allocations: 45.7 kB / 0.7111 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000595/0.5899, allocations: 0.7193 MB / 0.7118 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.5902, allocations: 276.1 kB / 0.7121 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.5903, allocations: 20 kB / 0.7121 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5904, allocations: 345.9 kB / 0.7124 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.5924, allocations: 0.525 MB / 0.713 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.5945, allocations: 0.806 MB / 0.7137 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.5966, allocations: 0.5807 MB / 0.7143 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5966, allocations: 4 kB / 0.7143 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005179/0.6018, allocations: 1.676 MB / 0.7159 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008337/0.6026, allocations: 2.397 MB / 0.7183 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.6027, allocations: 8 kB / 0.7183 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002022/0.6047, allocations: 0.5707 MB / 0.7189 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.6061, allocations: 255.6 kB / 0.7191 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.6081, allocations: 1.172 MB / 0.7202 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.6101, allocations: 246.5 kB / 0.7205 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.6102, allocations: 55.95 kB / 0.7205 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.6103, allocations: 7.938 kB / 0.7205 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004856/0.6151, allocations: 1.508 MB / 0.722 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6152, allocations: 4 kB / 0.722 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/0.617, allocations: 0.5786 MB / 0.7226 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.6183, allocations: 247.6 kB / 0.7228 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.6203, allocations: 1.17 MB / 0.724 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/0.6222, allocations: 226.9 kB / 0.7242 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.6224, allocations: 59.94 kB / 0.7242 GB, free: 13.08 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.0008047/0.6232, allocations: 474.9 kB / 0.7247 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.6235, allocations: 146.2 kB / 0.7248 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.6362, allocations: 2.166 MB / 0.7269 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.6362, allocations: 11.98 kB / 0.7269 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.6363, allocations: 7.984 kB / 0.727 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01232/0.6486, allocations: 1.986 MB / 0.7289 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008896/0.6575, allocations: 3.684 MB / 0.7325 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.6576, allocations: 4 kB / 0.7325 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.6587, allocations: 183.8 kB / 0.7327 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.6606, allocations: 0.5512 MB / 0.7332 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.384e-05/0.6608, allocations: 31.95 kB / 0.7332 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.6628, allocations: 1.162 MB / 0.7344 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.6628, allocations: 7.938 kB / 0.7344 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005112/0.6679, allocations: 1.692 MB / 0.736 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.6689, allocations: 426.8 kB / 0.7364 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/0.6693, allocations: 16 kB / 0.7365 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/0.6712, allocations: 163.6 kB / 0.7366 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.6714, allocations: 56.52 kB / 0.7367 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.6715, allocations: 59.92 kB / 0.7367 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001428/0.6729, allocations: 0.8985 MB / 0.7376 GB, free: 15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6729, allocations: 0 / 0.7376 GB, free: 15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002766/0.6757, allocations: 0.9666 MB / 0.7385 GB, free: 14.04 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.002076/0.6778, allocations: 0.8933 MB / 0.7394 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007185/0.685, allocations: 2.045 MB / 0.7414 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.685, allocations: 0 / 0.7414 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002266/0.6873, allocations: 0.6321 MB / 0.742 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00387/0.6912, allocations: 0.7387 MB / 0.7428 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00659/0.6978, allocations: 3.223 MB / 0.7459 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009875/0.6988, allocations: 1.305 MB / 0.7472 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001879/0.7007, allocations: 364 kB / 0.7475 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004234/0.7011, allocations: 147.2 kB / 0.7477 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.7011, allocations: 4 kB / 0.7477 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of Templates: time 0.05917/0.7603, allocations: 37.93 MB / 0.7847 GB, free: 15.29 MB / 0.6075 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)