Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.000883/0.000883, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.007158/0.007158, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001667/0.001668, allocations: 270.6 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9547/0.9547, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004523, allocations: 13.56 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1615, allocations: 88.54 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.4261/0.5876, allocations: 123.3 MB / 0.8056 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02088/0.6085, allocations: 15.38 MB / 0.8206 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004265/0.6128, allocations: 66.22 kB / 0.8206 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003685/0.6165, allocations: 0.7931 MB / 0.8214 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009122/0.6257, allocations: 2.393 MB / 0.8237 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006412/0.6321, allocations: 1.926 MB / 0.8256 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008007/0.6401, allocations: 6.015 MB / 0.8315 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.6428, allocations: 1.359 MB / 0.8328 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003574/0.6463, allocations: 1.492 MB / 0.8343 GB, free: 2.781 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.6488, allocations: 1.24 MB / 0.8355 GB, free: 2.055 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000415/0.6493, allocations: 72.09 kB / 0.8356 GB, free: 2.055 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004997/0.6543, allocations: 1.794 MB / 0.8373 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000491/0.6548, allocations: 364.7 kB / 0.8377 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.656, allocations: 0.9568 MB / 0.8386 GB, free: 216 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005099/0.6611, allocations: 3.524 MB / 0.842 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6611, allocations: 0 / 0.842 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.414e-06/0.6611, allocations: 0 / 0.842 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.821e-05/0.6612, allocations: 0 / 0.842 GB, free: 13.86 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.003993/0.6652, allocations: 2.071 MB / 0.8441 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.6652, allocations: 9.625 kB / 0.8441 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005561/0.6708, allocations: 0.7544 MB / 0.8448 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.6737, allocations: 1.668 MB / 0.8464 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.6738, allocations: 140.6 kB / 0.8466 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.674, allocations: 121.9 kB / 0.8467 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003845/0.6779, allocations: 1.751 MB / 0.8484 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.6779, allocations: 0 / 0.8484 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.6781, allocations: 55.56 kB / 0.8485 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/0.6781, allocations: 44.08 kB / 0.8485 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004597/0.6827, allocations: 1.531 MB / 0.85 GB, free: 8.551 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.009682/0.6924, allocations: 7.574 MB / 0.8574 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004127/0.6965, allocations: 1.191 MB / 0.8586 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.6986, allocations: 0.6012 MB / 0.8591 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.6998, allocations: 1.282 MB / 0.8604 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00226/0.7021, allocations: 0.6991 MB / 0.8611 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 4.348e-06/0.7021, allocations: 3.938 kB / 0.8611 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01846/0.7206, allocations: 3.265 MB / 0.8643 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.7207, allocations: 137.2 kB / 0.8644 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.7224, allocations: 1.271 MB / 0.8656 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.7226, allocations: 53.7 kB / 0.8657 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/0.7232, allocations: 0.7115 MB / 0.8664 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/0.7235, allocations: 287.9 kB / 0.8667 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.7236, allocations: 77.67 kB / 0.8667 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7237, allocations: 349.9 kB / 0.8671 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.7257, allocations: 0.5289 MB / 0.8676 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.728, allocations: 0.8178 MB / 0.8684 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/0.7322, allocations: 1.26 MB / 0.8696 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.7322, allocations: 0 / 0.8696 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005566/0.7378, allocations: 1.687 MB / 0.8713 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000199/0.738, allocations: 269.4 kB / 0.8715 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.7381, allocations: 4 kB / 0.8715 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/0.7402, allocations: 0.5685 MB / 0.8721 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.7416, allocations: 251.5 kB / 0.8723 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.7437, allocations: 1.183 MB / 0.8735 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.7458, allocations: 227.5 kB / 0.8737 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.746, allocations: 63.94 kB / 0.8737 GB, free: 332 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.746, allocations: 4 kB / 0.8738 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004839/0.7508, allocations: 1.52 MB / 0.8752 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.7509, allocations: 4 kB / 0.8752 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/0.7528, allocations: 0.5713 MB / 0.8758 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.7542, allocations: 251.6 kB / 0.876 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.7562, allocations: 1.174 MB / 0.8772 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.7583, allocations: 224.3 kB / 0.8774 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.7585, allocations: 55.94 kB / 0.8774 GB, free: 12.51 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 ($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.0008503/0.7593, allocations: 472 kB / 0.8779 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.7596, allocations: 158.2 kB / 0.8781 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/0.7731, allocations: 2.173 MB / 0.8802 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.7731, allocations: 8 kB / 0.8802 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.7731, allocations: 4 kB / 0.8802 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01284/0.786, allocations: 2.001 MB / 0.8821 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008282/0.7943, allocations: 3.664 MB / 0.8857 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.7943, allocations: 0 / 0.8857 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/0.7955, allocations: 191.8 kB / 0.8859 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/0.7974, allocations: 0.5625 MB / 0.8864 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.866e-05/0.7975, allocations: 31.95 kB / 0.8865 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.7995, allocations: 1.166 MB / 0.8876 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.7995, allocations: 4 kB / 0.8876 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/0.8047, allocations: 1.62 MB / 0.8892 GB, free: 168 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007669/0.8054, allocations: 406.9 kB / 0.8896 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.8057, allocations: 23.98 kB / 0.8896 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.8074, allocations: 165.9 kB / 0.8898 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.8076, allocations: 52.53 kB / 0.8898 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.8077, allocations: 51.92 kB / 0.8899 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001196/0.8089, allocations: 0.8751 MB / 0.8907 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8089, allocations: 0 / 0.8907 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00244/0.8113, allocations: 0.9664 MB / 0.8917 GB, free: 13.62 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 (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.001947/0.8133, allocations: 0.8738 MB / 0.8925 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007041/0.8204, allocations: 2.049 MB / 0.8945 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.8204, allocations: 3.781 kB / 0.8945 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002266/0.8227, allocations: 0.6399 MB / 0.8952 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/0.8269, allocations: 0.76 MB / 0.8959 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/0.833, allocations: 3.373 MB / 0.8992 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008142/0.8338, allocations: 1.259 MB / 0.9004 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001749/0.8356, allocations: 373.4 kB / 0.9008 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/0.8359, allocations: 147.3 kB / 0.9009 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.8359, allocations: 0 / 0.9009 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.05966/0.8956, allocations: 38.23 MB / 0.9383 GB, free: 14.47 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)