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.001188/0.001188, allocations: 112.6 kB / 16.42 MB, free: 6.508 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.001198/0.001198, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7364/0.7364, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 71.19 kB / 0.5863 GB, free: 21.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1354, allocations: 80.92 MB / 0.6653 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.4186/0.554, allocations: 126.1 MB / 0.7885 GB, free: 19.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01782/0.5719, allocations: 15.41 MB / 0.8035 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002865/0.5748, allocations: 77.91 kB / 0.8036 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.5773, allocations: 0.9955 MB / 0.8046 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006686/0.584, allocations: 2.718 MB / 0.8072 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.5889, allocations: 2.139 MB / 0.8093 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005662/0.5946, allocations: 4.798 MB / 0.814 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.5965, allocations: 1.706 MB / 0.8157 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003768/0.6003, allocations: 1.884 MB / 0.8175 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.6026, allocations: 1.345 MB / 0.8188 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.6029, allocations: 205 kB / 0.819 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00428/0.6072, allocations: 2.039 MB / 0.821 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004375/0.6076, allocations: 0.4991 MB / 0.8215 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.6087, allocations: 1.081 MB / 0.8225 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005489/0.6142, allocations: 3.708 MB / 0.8262 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6142, allocations: 0 / 0.8262 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6142, allocations: 0 / 0.8262 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.273e-05/0.6143, allocations: 4 kB / 0.8262 GB, free: 14.57 MB / 0.5919 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.005032/0.6193, allocations: 2.448 MB / 0.8286 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.6194, allocations: 10.61 kB / 0.8286 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00536/0.6248, allocations: 0.7126 MB / 0.8293 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.6278, allocations: 1.7 MB / 0.8309 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.6279, allocations: 136.7 kB / 0.8311 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.6281, allocations: 124.3 kB / 0.8312 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003679/0.6318, allocations: 1.729 MB / 0.8329 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.6318, allocations: 6.188 kB / 0.8329 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.6319, allocations: 52.91 kB / 0.8329 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.632, allocations: 37.66 kB / 0.833 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004462/0.6365, allocations: 1.515 MB / 0.8344 GB, free: 8.227 MB / 0.5919 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.009435/0.6459, allocations: 7.516 MB / 0.8418 GB, free: 316 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004023/0.6499, allocations: 1.165 MB / 0.8429 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001885/0.6518, allocations: 0.5945 MB / 0.8435 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.6531, allocations: 1.267 MB / 0.8447 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002267/0.6553, allocations: 0.6913 MB / 0.8454 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.506e-06/0.6554, allocations: 0 / 0.8454 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.01716/0.6725, allocations: 3.167 MB / 0.8485 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.6726, allocations: 137.2 kB / 0.8486 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.6747, allocations: 1.288 MB / 0.8499 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.6749, allocations: 49.7 kB / 0.8499 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000637/0.6755, allocations: 0.727 MB / 0.8506 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/0.6759, allocations: 276.1 kB / 0.8509 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003949/0.6763, allocations: 226.4 kB / 0.8511 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6764, allocations: 341.9 kB / 0.8515 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.6784, allocations: 0.5317 MB / 0.852 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.6805, allocations: 0.7944 MB / 0.8527 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/0.6847, allocations: 1.237 MB / 0.854 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.6847, allocations: 7.938 kB / 0.854 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005366/0.6901, allocations: 1.648 MB / 0.8556 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.6901, allocations: 8 kB / 0.8556 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.6901, allocations: 4 kB / 0.8556 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/0.6922, allocations: 0.5674 MB / 0.8561 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.6935, allocations: 243.6 kB / 0.8564 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.6955, allocations: 1.175 MB / 0.8575 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.6973, allocations: 174.8 kB / 0.8577 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.6975, allocations: 55.95 kB / 0.8577 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002361/0.6999, allocations: 0.8376 MB / 0.8586 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002031/0.7019, allocations: 0.7788 MB / 0.8593 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003711/0.7056, allocations: 1.217 MB / 0.8605 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.783e-06/0.7056, allocations: 4.938 kB / 0.8605 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005019/0.7107, allocations: 1.649 MB / 0.8621 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7107, allocations: 8 kB / 0.8621 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.7107, allocations: 7.938 kB / 0.8621 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/0.7125, allocations: 0.5663 MB / 0.8627 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.7138, allocations: 243.6 kB / 0.8629 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.7157, allocations: 1.177 MB / 0.8641 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.7175, allocations: 151.3 kB / 0.8642 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.7176, allocations: 63.94 kB / 0.8643 GB, free: 8.398 MB / 0.6231 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.0003606/0.718, allocations: 246.3 kB / 0.8645 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004426/0.7185, allocations: 146.2 kB / 0.8646 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.7306, allocations: 2.119 MB / 0.8667 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0116/0.7422, allocations: 1.951 MB / 0.8686 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.7423, allocations: 3.984 kB / 0.8686 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.7434, allocations: 382.8 kB / 0.869 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005005/0.7439, allocations: 19.94 kB / 0.869 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/0.7458, allocations: 107.9 kB / 0.8691 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.7459, allocations: 56.58 kB / 0.8692 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007649/0.7536, allocations: 1.741 MB / 0.8709 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006429/0.76, allocations: 2.092 MB / 0.8729 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001909/0.762, allocations: 0.5441 MB / 0.8734 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001677/0.7637, allocations: 0.879 MB / 0.8743 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of Backend: time 5.71e-07/0.7637, allocations: 0 / 0.8743 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009105/0.7728, allocations: 2.639 MB / 0.8769 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of SimCode: time 0.006421/0.7793, allocations: 3.559 MB / 0.8804 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of Templates: time 0.06483/0.8441, allocations: 45.76 MB / 0.925 GB, free: 10.53 MB / 0.6856 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)