Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009874/0.0009871, allocations: 97.64 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.007443/0.007443, allocations: 169.2 kB / 16.26 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.906/0.906, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003614, allocations: 8.281 kB / 0.504 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4674, allocations: 81.58 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1379/0.6053, allocations: 123.3 MB / 0.7041 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02387/0.6293, allocations: 15.37 MB / 0.7191 GB, free: 5.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002964/0.6323, allocations: 67.56 kB / 0.7192 GB, free: 5.273 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002797/0.6351, allocations: 0.7965 MB / 0.72 GB, free: 4.473 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007424/0.6425, allocations: 2.385 MB / 0.7223 GB, free: 2.086 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006555/0.6491, allocations: 1.911 MB / 0.7241 GB, free: 208 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009228/0.6583, allocations: 6.028 MB / 0.73 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003416/0.6618, allocations: 1.376 MB / 0.7314 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004105/0.666, allocations: 1.478 MB / 0.7328 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.6687, allocations: 1.24 MB / 0.734 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005583/0.6692, allocations: 72 kB / 0.7341 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004846/0.6741, allocations: 1.801 MB / 0.7359 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007563/0.6749, allocations: 366.3 kB / 0.7362 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002237/0.6771, allocations: 0.95 MB / 0.7371 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007432/0.6846, allocations: 3.532 MB / 0.7406 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6846, allocations: 4 kB / 0.7406 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6846, allocations: 3.938 kB / 0.7406 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001035/0.6847, allocations: 0 / 0.7406 GB, free: 15.28 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.005234/0.69, allocations: 2.05 MB / 0.7426 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.69, allocations: 8.031 kB / 0.7426 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005881/0.6959, allocations: 0.755 MB / 0.7433 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/0.6993, allocations: 1.658 MB / 0.745 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.6996, allocations: 140.1 kB / 0.7451 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/0.6999, allocations: 124 kB / 0.7452 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004497/0.7044, allocations: 1.756 MB / 0.7469 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.7045, allocations: 3.938 kB / 0.7469 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.7046, allocations: 56 kB / 0.747 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/0.7047, allocations: 35.94 kB / 0.747 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004884/0.7096, allocations: 1.539 MB / 0.7485 GB, free: 6.918 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.01095/0.7206, allocations: 7.557 MB / 0.7559 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004093/0.7247, allocations: 1.198 MB / 0.7571 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.7267, allocations: 0.6077 MB / 0.7577 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001672/0.7284, allocations: 1.275 MB / 0.7589 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002351/0.7308, allocations: 0.7108 MB / 0.7596 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.808e-06/0.7308, allocations: 0 / 0.7596 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.02401/0.7548, allocations: 3.257 MB / 0.7628 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.755, allocations: 145.1 kB / 0.7629 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/0.7579, allocations: 1.274 MB / 0.7642 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002743/0.7582, allocations: 53.64 kB / 0.7642 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.7592, allocations: 0.7192 MB / 0.7649 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004891/0.7597, allocations: 276 kB / 0.7652 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.76, allocations: 81.67 kB / 0.7653 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.7602, allocations: 341.9 kB / 0.7656 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/0.7632, allocations: 0.5367 MB / 0.7661 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.7664, allocations: 0.8061 MB / 0.7669 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006029/0.7725, allocations: 1.264 MB / 0.7681 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.7725, allocations: 4 kB / 0.7681 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.008145/0.7807, allocations: 1.683 MB / 0.7698 GB, free: 140 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002806/0.781, allocations: 277.5 kB / 0.77 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.781, allocations: 4 kB / 0.7701 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/0.784, allocations: 0.5719 MB / 0.7706 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.7861, allocations: 251.6 kB / 0.7708 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002976/0.7891, allocations: 1.175 MB / 0.772 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/0.7924, allocations: 242.7 kB / 0.7722 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/0.7927, allocations: 55.94 kB / 0.7723 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.7928, allocations: 4 kB / 0.7723 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007383/0.8002, allocations: 1.515 MB / 0.7738 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.8002, allocations: 4 kB / 0.7738 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/0.8029, allocations: 0.5674 MB / 0.7743 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.8048, allocations: 251.6 kB / 0.7746 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.807, allocations: 1.177 MB / 0.7757 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.8095, allocations: 219 kB / 0.7759 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.8097, allocations: 55.95 kB / 0.776 GB, free: 9.656 MB / 0.6075 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.001255/0.8109, allocations: 490.6 kB / 0.7764 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005578/0.8115, allocations: 146.2 kB / 0.7766 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/0.8254, allocations: 2.165 MB / 0.7787 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/0.8255, allocations: 8 kB / 0.7787 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.8255, allocations: 0 / 0.7787 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01324/0.8388, allocations: 2.005 MB / 0.7807 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00974/0.8486, allocations: 3.68 MB / 0.7843 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.8486, allocations: 4 kB / 0.7843 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.8498, allocations: 187.9 kB / 0.7844 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/0.8518, allocations: 0.5465 MB / 0.785 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.8519, allocations: 39.94 kB / 0.785 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.8541, allocations: 1.159 MB / 0.7861 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.8542, allocations: 3.938 kB / 0.7861 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/0.8596, allocations: 1.62 MB / 0.7877 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.8607, allocations: 406.9 kB / 0.7881 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003998/0.8611, allocations: 16 kB / 0.7881 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/0.8632, allocations: 163.7 kB / 0.7883 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.8634, allocations: 64.45 kB / 0.7883 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.8636, allocations: 55.92 kB / 0.7884 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001719/0.8653, allocations: 0.8673 MB / 0.7892 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.61e-07/0.8653, allocations: 0 / 0.7892 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003615/0.8689, allocations: 0.9627 MB / 0.7902 GB, free: 10.77 MB / 0.6231 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.002622/0.8716, allocations: 0.8776 MB / 0.791 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007798/0.8794, allocations: 2.049 MB / 0.793 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.8794, allocations: 4 kB / 0.7931 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002464/0.8819, allocations: 0.6439 MB / 0.7937 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006041/0.888, allocations: 0.7391 MB / 0.7944 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008672/0.8967, allocations: 3.384 MB / 0.7977 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.898, allocations: 1.262 MB / 0.7989 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002402/0.9005, allocations: 376.8 kB / 0.7993 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/0.901, allocations: 147.3 kB / 0.7994 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of SimCode: time 1.753e-06/0.901, allocations: 0 / 0.7994 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of Templates: time 0.3834/1.284, allocations: 38.19 MB / 0.8367 GB, free: 204.9 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)