Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.001249/0.001249, allocations: 97.64 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 181.9 kB / 16.92 MB, free: 6.898 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.136/1.136, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6054/0.6054, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002535/0.0002535, allocations: 8 kB / 495.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1067, allocations: 77.53 MB / 0.56 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.2508/0.3576, allocations: 68.18 MB / 0.6266 GB, free: 9.512 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.3744, allocations: 14.39 MB / 0.6407 GB, free: 15 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.3763, allocations: 64.78 kB / 0.6407 GB, free: 14.97 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.3781, allocations: 0.7594 MB / 0.6415 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005227/0.3833, allocations: 2.332 MB / 0.6437 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.387, allocations: 1.782 MB / 0.6455 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005019/0.3921, allocations: 5.919 MB / 0.6513 GB, free: 7.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.3934, allocations: 1.286 MB / 0.6525 GB, free: 7.039 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.3951, allocations: 1.433 MB / 0.6539 GB, free: 6.254 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.3961, allocations: 1.182 MB / 0.6551 GB, free: 5.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.3963, allocations: 68 kB / 0.6551 GB, free: 5.344 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.399, allocations: 1.743 MB / 0.6568 GB, free: 3.598 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.3992, allocations: 334.5 kB / 0.6572 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006926/0.3999, allocations: 0.8957 MB / 0.658 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002791/0.4027, allocations: 3.353 MB / 0.6613 GB, free: 15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.4027, allocations: 0 / 0.6613 GB, free: 15 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4028, allocations: 0 / 0.6613 GB, free: 15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.4028, allocations: 0 / 0.6613 GB, free: 15 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002747/0.4055, allocations: 1.936 MB / 0.6632 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.4056, allocations: 11.97 kB / 0.6632 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.4058, allocations: 177.6 kB / 0.6634 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004972/0.4107, allocations: 0.7325 MB / 0.6641 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.4126, allocations: 1.56 MB / 0.6656 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.4127, allocations: 128 kB / 0.6657 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.4129, allocations: 124 kB / 0.6659 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/0.4162, allocations: 1.66 MB / 0.6675 GB, free: 8.449 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.4163, allocations: 3.938 kB / 0.6675 GB, free: 8.445 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.4164, allocations: 56 kB / 0.6675 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-05/0.4164, allocations: 36 kB / 0.6676 GB, free: 8.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.4207, allocations: 1.488 MB / 0.669 GB, free: 6.859 MB / 494.1 MB 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.007884/0.4286, allocations: 7.03 MB / 0.6759 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.4305, allocations: 0.7594 MB / 0.6766 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.4321, allocations: 0.5104 MB / 0.6771 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.4331, allocations: 1.27 MB / 0.6784 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.4332, allocations: 43.12 kB / 0.6784 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=68): time 1.864e-06/0.4332, allocations: 0 / 0.6784 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68): time 0.01881/0.452, allocations: 3.121 MB / 0.6815 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.4521, allocations: 111.4 kB / 0.6816 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.4537, allocations: 1.363 MB / 0.6829 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.771e-05/0.4538, allocations: 45.7 kB / 0.6829 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004768/0.4543, allocations: 0.6918 MB / 0.6836 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.4545, allocations: 244.5 kB / 0.6839 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.4546, allocations: 81.61 kB / 0.6839 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.4547, allocations: 345.9 kB / 0.6843 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.4565, allocations: 0.5172 MB / 0.6848 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.4584, allocations: 0.7979 MB / 0.6855 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/0.4617, allocations: 1.176 MB / 0.6867 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.4617, allocations: 4 kB / 0.6867 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004399/0.4661, allocations: 1.601 MB / 0.6883 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.4663, allocations: 272.9 kB / 0.6885 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4663, allocations: 4 kB / 0.6885 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/0.4678, allocations: 492.4 kB / 0.689 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.4691, allocations: 267.6 kB / 0.6892 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.4705, allocations: 1.012 MB / 0.6902 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/0.4725, allocations: 266.7 kB / 0.6905 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-05/0.4726, allocations: 55.94 kB / 0.6905 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.909e-06/0.4727, allocations: 4 kB / 0.6905 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00427/0.4769, allocations: 1.437 MB / 0.692 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.477, allocations: 16.08 kB / 0.692 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.4784, allocations: 488.5 kB / 0.6924 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.4796, allocations: 263.6 kB / 0.6927 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.4811, allocations: 0.9955 MB / 0.6937 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.4828, allocations: 243.5 kB / 0.6939 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-05/0.4829, allocations: 59.94 kB / 0.6939 GB, free: 12.26 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0004856/0.4834, allocations: 449 kB / 0.6944 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.4836, allocations: 146.2 kB / 0.6945 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.4875, allocations: 1.352 MB / 0.6958 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4875, allocations: 8 kB / 0.6958 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4875, allocations: 0 / 0.6958 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003425/0.4909, allocations: 1.151 MB / 0.697 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006141/0.4971, allocations: 3.065 MB / 0.7 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/0.4971, allocations: 15.97 kB / 0.7 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.498, allocations: 151.8 kB / 0.7001 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.4994, allocations: 483.7 kB / 0.7006 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.4995, allocations: 31.91 kB / 0.7006 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.5009, allocations: 0.995 MB / 0.7016 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.501, allocations: 4 kB / 0.7016 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005274/0.5062, allocations: 1.971 MB / 0.7035 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.5067, allocations: 394.9 kB / 0.7039 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.5069, allocations: 20 kB / 0.7039 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/0.5085, allocations: 159.7 kB / 0.7041 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/0.5086, allocations: 64.23 kB / 0.7041 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.5087, allocations: 43.95 kB / 0.7042 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001273/0.5099, allocations: 0.9816 MB / 0.7051 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.422e-06/0.5099, allocations: 0 / 0.7051 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001803/0.5118, allocations: 0.8929 MB / 0.706 GB, free: 15.61 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006332/0.5181, allocations: 2.951 MB / 0.7089 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005597/0.5237, allocations: 1.869 MB / 0.7107 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5237, allocations: 0 / 0.7107 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.5254, allocations: 0.5375 MB / 0.7112 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/0.5294, allocations: 0.8017 MB / 0.712 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/0.5545, allocations: 13.55 MB / 0.7252 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.5551, allocations: 1.211 MB / 0.7264 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001311/0.5564, allocations: 371 kB / 0.7268 GB, free: 9.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006947/0.5571, allocations: 0.5812 MB / 0.7273 GB, free: 9.016 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.5571, allocations: 0 / 0.7273 GB, free: 9.016 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.739/7.296, allocations: 50.66 MB / 0.7768 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/7.297, allocations: 289.1 kB / 0.7771 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.458/10.75, allocations: 0 / 0.7771 GB, free: 6.605 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)