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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.001661, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00212/0.00212, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.584/2.584, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.841/1.841, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005718/0.0005722, allocations: 8 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.377, allocations: 82.31 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.8445/1.226, allocations: 105.5 MB / 0.6903 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04036/1.266, allocations: 13.11 MB / 0.7031 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005766/1.272, allocations: 61.03 kB / 0.7032 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006585/1.279, allocations: 0.8239 MB / 0.704 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01878/1.297, allocations: 2.267 MB / 0.7062 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01484/1.312, allocations: 1.988 MB / 0.7081 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01575/1.328, allocations: 2.752 MB / 0.7108 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007711/1.336, allocations: 1.251 MB / 0.712 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009216/1.345, allocations: 1.319 MB / 0.7133 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005413/1.351, allocations: 0.8717 MB / 0.7142 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001437/1.352, allocations: 71.16 kB / 0.7142 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/1.363, allocations: 1.212 MB / 0.7154 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001779/1.365, allocations: 334.6 kB / 0.7157 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002505/1.367, allocations: 418.3 kB / 0.7161 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009675/1.377, allocations: 2.564 MB / 0.7186 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.377, allocations: 4 kB / 0.7186 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.541e-05/1.377, allocations: 3.984 kB / 0.7187 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001678/1.377, allocations: 1.281 kB / 0.7187 GB, free: 1.047 MB / 0.5294 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.01164/1.389, allocations: 2.044 MB / 0.7207 GB, free: 15.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.036e-05/1.389, allocations: 7.062 kB / 0.7207 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00128/1.39, allocations: 190.6 kB / 0.7208 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/1.401, allocations: 0.7493 MB / 0.7216 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008087/1.41, allocations: 1.546 MB / 0.7231 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006248/1.41, allocations: 139.5 kB / 0.7232 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/1.411, allocations: 120.1 kB / 0.7233 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/1.423, allocations: 1.729 MB / 0.725 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/1.423, allocations: 5.281 kB / 0.725 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000714/1.424, allocations: 54.91 kB / 0.7251 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/1.424, allocations: 34.03 kB / 0.7251 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/1.435, allocations: 1.53 MB / 0.7266 GB, free: 11.71 MB / 0.545 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.02451/1.459, allocations: 7.605 MB / 0.734 GB, free: 5.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007794/1.467, allocations: 1.197 MB / 0.7352 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002417/1.47, allocations: 1.267 MB / 0.7364 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004346/1.474, allocations: 0.703 MB / 0.7371 GB, free: 1.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=80): time 8.767e-06/1.474, allocations: 4 kB / 0.7371 GB, free: 1.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=80): time 0.03156/1.506, allocations: 3.222 MB / 0.7403 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/1.506, allocations: 145.2 kB / 0.7404 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004087/1.51, allocations: 1.304 MB / 0.7417 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00056/1.511, allocations: 53.69 kB / 0.7417 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/1.512, allocations: 0.7154 MB / 0.7424 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007482/1.513, allocations: 280 kB / 0.7427 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/1.513, allocations: 20 kB / 0.7427 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002344/1.513, allocations: 341.9 kB / 0.743 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00372/1.517, allocations: 0.525 MB / 0.7436 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004146/1.521, allocations: 0.806 MB / 0.7443 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005602/1.527, allocations: 0.5807 MB / 0.7449 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/1.527, allocations: 4 kB / 0.7449 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01027/1.537, allocations: 1.664 MB / 0.7465 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.00137/1.539, allocations: 2.405 MB / 0.7489 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/1.539, allocations: 7.984 kB / 0.7489 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003816/1.543, allocations: 0.5737 MB / 0.7495 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/1.545, allocations: 247.6 kB / 0.7497 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/1.549, allocations: 1.174 MB / 0.7508 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004589/1.554, allocations: 242.7 kB / 0.7511 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004778/1.554, allocations: 51.95 kB / 0.7511 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/1.554, allocations: 4 kB / 0.7511 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00964/1.564, allocations: 1.511 MB / 0.7526 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/1.564, allocations: 8 kB / 0.7526 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003659/1.568, allocations: 0.5703 MB / 0.7532 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/1.571, allocations: 251.6 kB / 0.7534 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/1.574, allocations: 1.181 MB / 0.7546 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004306/1.579, allocations: 226.9 kB / 0.7548 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004234/1.579, allocations: 63.94 kB / 0.7548 GB, free: 15.3 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 ($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.00209/1.581, allocations: 475.6 kB / 0.7553 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000846/1.582, allocations: 150.2 kB / 0.7554 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02125/1.604, allocations: 2.162 MB / 0.7575 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.51e-05/1.604, allocations: 8 kB / 0.7576 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/1.604, allocations: 0 / 0.7576 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02019/1.624, allocations: 1.994 MB / 0.7595 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/1.642, allocations: 3.684 MB / 0.7631 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/1.642, allocations: 4.188 kB / 0.7631 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/1.644, allocations: 179.7 kB / 0.7633 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003678/1.648, allocations: 0.5614 MB / 0.7638 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003464/1.648, allocations: 39.94 kB / 0.7639 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00369/1.652, allocations: 1.154 MB / 0.765 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/1.652, allocations: 4 kB / 0.765 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/1.667, allocations: 1.704 MB / 0.7667 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002257/1.669, allocations: 426.7 kB / 0.7671 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007737/1.67, allocations: 19.98 kB / 0.7671 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003982/1.674, allocations: 158.8 kB / 0.7672 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003781/1.674, allocations: 60.58 kB / 0.7673 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003991/1.675, allocations: 55.92 kB / 0.7673 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007341/1.682, allocations: 0.8985 MB / 0.7682 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.947e-06/1.682, allocations: 0 / 0.7682 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007464/1.69, allocations: 0.9782 MB / 0.7692 GB, free: 256 kB / 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 (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.01947/1.709, allocations: 3.414 MB / 0.7725 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01496/1.724, allocations: 2.038 MB / 0.7745 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.732e-05/1.724, allocations: 8.125 kB / 0.7745 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004269/1.729, allocations: 0.6318 MB / 0.7751 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008201/1.737, allocations: 0.7448 MB / 0.7758 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/1.759, allocations: 8.091 MB / 0.7838 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001974/1.761, allocations: 1.29 MB / 0.785 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004103/1.765, allocations: 375.9 kB / 0.7854 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/1.767, allocations: 0.6358 MB / 0.786 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of SimCode: time 1.422e-06/1.767, allocations: 0 / 0.786 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2495/2.017, allocations: 51.05 MB / 0.8358 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004139/2.017, allocations: 255.1 kB / 0.8361 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.212/8.229, allocations: 0 / 0.8361 GB, free: 12.11 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) Environment - environmentSimulation: