Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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_Static,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",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.001261/0.001261, allocations: 92.95 kB / 16.02 MB, free: 84 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.001361/0.001361, allocations: 179.4 kB / 16.91 MB, free: 6.645 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.144/1.144, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6141/0.6141, allocations: 115.5 MB / 407.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 8 kB / 495.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.124, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.2775/0.4015, allocations: 68.22 MB / 0.6267 GB, free: 9.367 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01791/0.4195, allocations: 14.39 MB / 0.6407 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.4216, allocations: 61.34 kB / 0.6408 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.4235, allocations: 0.7478 MB / 0.6415 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005622/0.4291, allocations: 2.355 MB / 0.6438 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.4331, allocations: 1.786 MB / 0.6455 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005187/0.4383, allocations: 5.866 MB / 0.6513 GB, free: 7.758 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.4397, allocations: 1.285 MB / 0.6525 GB, free: 6.961 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.4416, allocations: 1.427 MB / 0.6539 GB, free: 6.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.4427, allocations: 1.196 MB / 0.6551 GB, free: 5.312 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.4428, allocations: 68 kB / 0.6552 GB, free: 5.246 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.4459, allocations: 1.739 MB / 0.6568 GB, free: 3.504 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.4462, allocations: 326.5 kB / 0.6572 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007475/0.4469, allocations: 0.9034 MB / 0.658 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00301/0.45, allocations: 3.345 MB / 0.6613 GB, free: 14.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.45, allocations: 0 / 0.6613 GB, free: 14.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.45, allocations: 0 / 0.6613 GB, free: 14.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.45, allocations: 3.938 kB / 0.6613 GB, free: 14.91 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.003059/0.4531, allocations: 1.953 MB / 0.6632 GB, free: 12.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.4531, allocations: 12.03 kB / 0.6632 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/0.4533, allocations: 177.6 kB / 0.6634 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005158/0.4585, allocations: 0.7402 MB / 0.6641 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.4605, allocations: 1.553 MB / 0.6656 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.4607, allocations: 132 kB / 0.6658 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.4609, allocations: 120 kB / 0.6659 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003537/0.4644, allocations: 1.681 MB / 0.6675 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.4644, allocations: 0 / 0.6675 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.4646, allocations: 52 kB / 0.6676 GB, free: 8.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/0.4646, allocations: 47.86 kB / 0.6676 GB, free: 8.219 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00443/0.4691, allocations: 1.523 MB / 0.6691 GB, free: 6.688 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.008329/0.4774, allocations: 7.307 MB / 0.6762 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.4796, allocations: 0.8347 MB / 0.6771 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.4813, allocations: 0.5295 MB / 0.6776 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.4824, allocations: 1.267 MB / 0.6788 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.4825, allocations: 43.12 kB / 0.6789 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 1.844e-06/0.4825, allocations: 0 / 0.6789 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70): time 0.02937/0.5118, allocations: 4.319 MB / 0.6831 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.5119, allocations: 111.4 kB / 0.6832 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.5137, allocations: 1.375 MB / 0.6845 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.369e-05/0.5138, allocations: 45.7 kB / 0.6846 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/0.5143, allocations: 0.6841 MB / 0.6852 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.5145, allocations: 244.5 kB / 0.6855 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.5146, allocations: 69.69 kB / 0.6855 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5147, allocations: 341.9 kB / 0.6859 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.5166, allocations: 0.525 MB / 0.6864 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.5187, allocations: 0.7901 MB / 0.6871 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/0.5223, allocations: 1.191 MB / 0.6883 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.5223, allocations: 4 kB / 0.6883 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004727/0.527, allocations: 1.632 MB / 0.6899 GB, free: 412 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.5271, allocations: 280.9 kB / 0.6902 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5272, allocations: 4 kB / 0.6902 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/0.529, allocations: 0.5706 MB / 0.6907 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.5303, allocations: 255.6 kB / 0.691 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.5321, allocations: 1.179 MB / 0.6921 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.5341, allocations: 284.1 kB / 0.6924 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/0.5342, allocations: 55.95 kB / 0.6924 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/0.5343, allocations: 6.031 kB / 0.6925 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004526/0.5388, allocations: 1.472 MB / 0.6939 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5388, allocations: 8 kB / 0.6939 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.5405, allocations: 0.5707 MB / 0.6945 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.5418, allocations: 251.6 kB / 0.6947 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.5435, allocations: 1.173 MB / 0.6958 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.5453, allocations: 247.5 kB / 0.6961 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.685e-05/0.5454, allocations: 55.95 kB / 0.6961 GB, free: 9.879 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 (82): * Single equations (assignments): 81 * 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.0005329/0.546, allocations: 453.1 kB / 0.6966 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.5462, allocations: 146.2 kB / 0.6967 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004155/0.5503, allocations: 1.414 MB / 0.6981 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.5504, allocations: 8 kB / 0.6981 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5504, allocations: 7.875 kB / 0.6981 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003691/0.5541, allocations: 1.222 MB / 0.6993 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007068/0.5611, allocations: 3.512 MB / 0.7027 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.5612, allocations: 7.984 kB / 0.7027 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008612/0.562, allocations: 155.8 kB / 0.7029 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.5638, allocations: 0.5437 MB / 0.7034 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.5638, allocations: 31.97 kB / 0.7034 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.5656, allocations: 1.17 MB / 0.7046 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.5656, allocations: 4 kB / 0.7046 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.5696, allocations: 1.489 MB / 0.706 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/0.5701, allocations: 394.9 kB / 0.7064 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.5703, allocations: 16 kB / 0.7064 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.5719, allocations: 163.8 kB / 0.7066 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.572, allocations: 56.3 kB / 0.7066 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.59e-05/0.5721, allocations: 39.95 kB / 0.7067 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001302/0.5734, allocations: 0.9693 MB / 0.7076 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.5734, allocations: 0 / 0.7076 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001895/0.5753, allocations: 0.8928 MB / 0.7085 GB, free: 12.83 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * 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 (42): * Single equations (assignments): 39 * 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 {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00505/0.5804, allocations: 2.461 MB / 0.7109 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005969/0.5864, allocations: 1.925 MB / 0.7128 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5864, allocations: 4 kB / 0.7128 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.5882, allocations: 0.5612 MB / 0.7133 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003932/0.5921, allocations: 0.8015 MB / 0.7141 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/0.619, allocations: 13.45 MB / 0.7273 GB, free: 8.941 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/0.6197, allocations: 1.207 MB / 0.7284 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00143/0.6211, allocations: 335.2 kB / 0.7288 GB, free: 7.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/0.6218, allocations: 0.5617 MB / 0.7293 GB, free: 6.816 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.6218, allocations: 4 kB / 0.7293 GB, free: 6.812 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.047/6.669, allocations: 50.99 MB / 0.7791 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/6.669, allocations: 284.2 kB / 0.7794 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.198/11.87, allocations: 0 / 0.7794 GB, free: 4.035 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)