Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001233/0.001233, allocations: 98.75 kB / 16.27 MB, free: 5.969 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.001214/0.001214, allocations: 193.8 kB / 17.2 MB, free: 5.594 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8607/0.8607, allocations: 135.1 MB / 426.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 59.91 kB / 0.506 GB, free: 8.434 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4501, allocations: 80.92 MB / 0.585 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1457/0.5958, allocations: 126.1 MB / 0.7082 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02358/0.6194, allocations: 15.42 MB / 0.7232 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/0.6224, allocations: 75.56 kB / 0.7233 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003125/0.6255, allocations: 0.9548 MB / 0.7242 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007599/0.6332, allocations: 2.61 MB / 0.7268 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005802/0.6391, allocations: 2.108 MB / 0.7288 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006606/0.6457, allocations: 4.783 MB / 0.7335 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/0.6489, allocations: 1.712 MB / 0.7352 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004649/0.6536, allocations: 1.819 MB / 0.7369 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.6563, allocations: 1.33 MB / 0.7382 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007892/0.6571, allocations: 204 kB / 0.7384 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005194/0.6623, allocations: 1.978 MB / 0.7404 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.6634, allocations: 0.51 MB / 0.7409 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002289/0.6657, allocations: 1.081 MB / 0.7419 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007323/0.6731, allocations: 3.677 MB / 0.7455 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.6731, allocations: 8 kB / 0.7455 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6731, allocations: 3.938 kB / 0.7455 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.905e-05/0.6732, allocations: 0 / 0.7455 GB, free: 5.789 MB / 0.5762 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.005845/0.6791, allocations: 2.439 MB / 0.7479 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.6792, allocations: 13.11 kB / 0.7479 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00599/0.6852, allocations: 0.716 MB / 0.7486 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/0.6887, allocations: 1.619 MB / 0.7502 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.6889, allocations: 136.1 kB / 0.7503 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/0.6893, allocations: 128 kB / 0.7504 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2863/0.9756, allocations: 1.733 MB / 0.7521 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.9756, allocations: 2.5 kB / 0.7521 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.9758, allocations: 59.41 kB / 0.7522 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.332e-05/0.9759, allocations: 39.8 kB / 0.7522 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005431/0.9814, allocations: 1.51 MB / 0.7537 GB, free: 159 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.01089/0.9923, allocations: 7.593 MB / 0.7611 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004582/0.9969, allocations: 1.152 MB / 0.7622 GB, free: 153 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002175/0.9991, allocations: 0.6057 MB / 0.7628 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/1, allocations: 1.271 MB / 0.7641 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00234/1.003, allocations: 0.6956 MB / 0.7648 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.607e-06/1.003, allocations: 0.6875 kB / 0.7648 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01802/1.021, allocations: 3.168 MB / 0.7679 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/1.021, allocations: 140.2 kB / 0.768 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/1.023, allocations: 1.293 MB / 0.7693 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002073/1.023, allocations: 48.64 kB / 0.7693 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005111/1.023, allocations: 0.7215 MB / 0.77 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/1.024, allocations: 275.4 kB / 0.7703 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/1.024, allocations: 221.3 kB / 0.7705 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/1.024, allocations: 343.6 kB / 0.7708 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/1.026, allocations: 0.532 MB / 0.7713 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/1.028, allocations: 0.7929 MB / 0.7721 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003734/1.032, allocations: 1.236 MB / 0.7733 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/1.032, allocations: 3.625 kB / 0.7733 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00512/1.037, allocations: 1.657 MB / 0.7749 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/1.037, allocations: 6.938 kB / 0.7749 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.037, allocations: 5.375 kB / 0.7749 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/1.039, allocations: 0.5683 MB / 0.7755 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/1.04, allocations: 251.6 kB / 0.7757 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/1.042, allocations: 1.167 MB / 0.7769 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/1.044, allocations: 182.8 kB / 0.777 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/1.044, allocations: 55.94 kB / 0.7771 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002404/1.047, allocations: 0.8403 MB / 0.7779 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001969/1.049, allocations: 0.7905 MB / 0.7787 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003646/1.052, allocations: 1.213 MB / 0.7799 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.001e-06/1.052, allocations: 4 kB / 0.7799 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005088/1.057, allocations: 1.636 MB / 0.7815 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.057, allocations: 8 kB / 0.7815 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.057, allocations: 8.766 kB / 0.7815 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/1.059, allocations: 0.5622 MB / 0.782 GB, free: 137.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.061, allocations: 247.6 kB / 0.7823 GB, free: 137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/1.062, allocations: 1.177 MB / 0.7834 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.064, allocations: 159.2 kB / 0.7836 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/1.064, allocations: 59.94 kB / 0.7836 GB, free: 135.6 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.0003654/1.065, allocations: 243.9 kB / 0.7839 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/1.065, allocations: 150.2 kB / 0.784 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.078, allocations: 2.13 MB / 0.7861 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.198e-05/1.078, allocations: 8 kB / 0.7861 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.078, allocations: 0 / 0.7861 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0174/1.096, allocations: 1.943 MB / 0.788 GB, free: 131.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/1.11, allocations: 3.663 MB / 0.7916 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/1.11, allocations: 0 / 0.7916 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/1.112, allocations: 179.7 kB / 0.7917 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003457/1.115, allocations: 0.5469 MB / 0.7923 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000224/1.116, allocations: 39.94 kB / 0.7923 GB, free: 126.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003244/1.119, allocations: 1.162 MB / 0.7935 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.119, allocations: 4 kB / 0.7935 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009182/1.128, allocations: 1.591 MB / 0.795 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/1.129, allocations: 382.9 kB / 0.7954 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000601/1.13, allocations: 16 kB / 0.7954 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003254/1.133, allocations: 115.8 kB / 0.7955 GB, free: 123.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/1.134, allocations: 52.58 kB / 0.7956 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002574/1.134, allocations: 67.86 kB / 0.7956 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002321/1.136, allocations: 0.879 MB / 0.7965 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.01e-07/1.136, allocations: 0 / 0.7965 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00482/1.141, allocations: 0.9562 MB / 0.7974 GB, free: 121.3 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.003697/1.145, allocations: 0.8911 MB / 0.7983 GB, free: 120.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01308/1.158, allocations: 2.076 MB / 0.8003 GB, free: 118.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/1.158, allocations: 7.781 kB / 0.8003 GB, free: 118.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003919/1.162, allocations: 0.6321 MB / 0.8009 GB, free: 118 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00666/1.169, allocations: 0.7528 MB / 0.8017 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.179, allocations: 2.774 MB / 0.8044 GB, free: 114.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/1.18, allocations: 1.255 MB / 0.8056 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/1.181, allocations: 163.3 kB / 0.8058 GB, free: 113 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/1.181, allocations: 0 / 0.8058 GB, free: 113 MB / 0.5762 GB Notification: Performance of Templates: time 0.07275/1.254, allocations: 37.4 MB / 0.8423 GB, free: 75.71 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)