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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IDEAS_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.001098/0.001099, allocations: 99.7 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.001203/0.001203, 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.39/2.39, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.336/1.336, allocations: 132.2 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 12 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6586/0.659, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1653/0.8243, allocations: 105.5 MB / 0.686 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03056/0.8549, allocations: 13.11 MB / 0.6988 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004697/0.8597, allocations: 59.56 kB / 0.6989 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006391/0.8661, allocations: 0.8278 MB / 0.6997 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01507/0.8813, allocations: 2.281 MB / 0.7019 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01188/0.8932, allocations: 1.973 MB / 0.7038 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01066/0.9039, allocations: 2.76 MB / 0.7065 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004681/0.9087, allocations: 1.255 MB / 0.7077 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005586/0.9143, allocations: 1.316 MB / 0.709 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/0.9174, allocations: 0.8671 MB / 0.7099 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008856/0.9184, allocations: 72 kB / 0.7099 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006714/0.9251, allocations: 1.209 MB / 0.7111 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.9265, allocations: 334.7 kB / 0.7114 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002188/0.9287, allocations: 420.7 kB / 0.7118 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008152/0.9369, allocations: 2.568 MB / 0.7144 GB, free: 9.793 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.937, allocations: 0 / 0.7144 GB, free: 9.793 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.747e-06/0.937, allocations: 0 / 0.7144 GB, free: 9.793 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002104/0.9372, allocations: 0 / 0.7144 GB, free: 9.793 MB / 0.545 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.01046/0.9477, allocations: 2.038 MB / 0.7163 GB, free: 7.684 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 9.669e-05/0.9479, allocations: 12.03 kB / 0.7164 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001175/0.949, allocations: 189.8 kB / 0.7165 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007526/0.9566, allocations: 0.7508 MB / 0.7173 GB, free: 6.723 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/0.9617, allocations: 1.546 MB / 0.7188 GB, free: 5.121 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.962, allocations: 136.1 kB / 0.7189 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004638/0.9625, allocations: 120 kB / 0.719 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006056/0.9686, allocations: 1.731 MB / 0.7207 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.9687, allocations: 3.953 kB / 0.7207 GB, free: 3.027 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/0.9689, allocations: 63.98 kB / 0.7208 GB, free: 2.965 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.708e-05/0.969, allocations: 35.98 kB / 0.7208 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007095/0.9761, allocations: 1.523 MB / 0.7223 GB, free: 1.398 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.01844/0.9946, allocations: 7.596 MB / 0.7297 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005586/1, allocations: 1.191 MB / 0.7309 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001997/1.002, allocations: 1.271 MB / 0.7321 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003346/1.006, allocations: 0.703 MB / 0.7328 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 6.673e-06/1.006, allocations: 0 / 0.7328 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.025/1.031, allocations: 3.222 MB / 0.736 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/1.031, allocations: 141.2 kB / 0.7361 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/1.034, allocations: 1.31 MB / 0.7374 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004246/1.035, allocations: 49.7 kB / 0.7374 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001138/1.036, allocations: 0.7271 MB / 0.7381 GB, free: 424 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006695/1.037, allocations: 276 kB / 0.7384 GB, free: 144 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/1.037, allocations: 16 kB / 0.7384 GB, free: 128 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002786/1.037, allocations: 349.9 kB / 0.7387 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/1.04, allocations: 0.525 MB / 0.7392 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003345/1.044, allocations: 0.8099 MB / 0.74 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/1.047, allocations: 0.5768 MB / 0.7406 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/1.047, allocations: 4 kB / 0.7406 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.008124/1.055, allocations: 1.668 MB / 0.7422 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001656/1.056, allocations: 2.405 MB / 0.7446 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/1.057, allocations: 4 kB / 0.7446 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/1.06, allocations: 0.5794 MB / 0.7452 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/1.062, allocations: 247.6 kB / 0.7454 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/1.065, allocations: 1.171 MB / 0.7465 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/1.068, allocations: 242.6 kB / 0.7468 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/1.068, allocations: 63.94 kB / 0.7468 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.068, allocations: 4 kB / 0.7468 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006762/1.075, allocations: 1.504 MB / 0.7483 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/1.075, allocations: 11.98 kB / 0.7483 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/1.078, allocations: 0.5823 MB / 0.7489 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/1.08, allocations: 247.6 kB / 0.7491 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/1.083, allocations: 1.166 MB / 0.7503 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00354/1.087, allocations: 231 kB / 0.7505 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/1.087, allocations: 55.95 kB / 0.7505 GB, free: 3.398 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.001807/1.089, allocations: 472.8 kB / 0.751 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006828/1.09, allocations: 150.2 kB / 0.7511 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01689/1.107, allocations: 2.165 MB / 0.7532 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/1.107, allocations: 12 kB / 0.7532 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/1.107, allocations: 0 / 0.7532 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01718/1.124, allocations: 1.994 MB / 0.7552 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/1.139, allocations: 3.691 MB / 0.7588 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.305e-05/1.14, allocations: 3.984 kB / 0.7588 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/1.141, allocations: 175.9 kB / 0.759 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/1.145, allocations: 0.5624 MB / 0.7595 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000252/1.145, allocations: 35.94 kB / 0.7596 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003438/1.148, allocations: 1.158 MB / 0.7607 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.148, allocations: 0 / 0.7607 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008643/1.157, allocations: 1.7 MB / 0.7623 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/1.159, allocations: 430.9 kB / 0.7628 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00073/1.16, allocations: 12 kB / 0.7628 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003246/1.163, allocations: 163.7 kB / 0.7629 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/1.164, allocations: 52.55 kB / 0.763 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000284/1.164, allocations: 59.92 kB / 0.763 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003245/1.167, allocations: 0.9024 MB / 0.7639 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/1.167, allocations: 0 / 0.7639 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006383/1.174, allocations: 0.9704 MB / 0.7649 GB, free: 4.344 MB / 0.5919 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.01315/1.187, allocations: 3.429 MB / 0.7682 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.199, allocations: 2.03 MB / 0.7702 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.249e-05/1.199, allocations: 0 / 0.7702 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004159/1.203, allocations: 0.64 MB / 0.7708 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008533/1.212, allocations: 0.7377 MB / 0.7715 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/1.233, allocations: 8.087 MB / 0.7794 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/1.235, allocations: 1.298 MB / 0.7807 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003968/1.239, allocations: 375.4 kB / 0.7811 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002184/1.241, allocations: 0.6319 MB / 0.7817 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of SimCode: time 2.395e-06/1.241, allocations: 0 / 0.7817 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.759/2, allocations: 51.03 MB / 0.8315 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/2.001, allocations: 246.8 kB / 0.8317 GB, free: 208 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.179/8.18, allocations: 7.938 kB / 0.8318 GB, free: 208 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) Environment - environmentSimulation: