Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5099/0.5099, allocations: 90.91 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.5 MB / 343.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009437/0.0009438, allocations: 99.33 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.165e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1544, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.328, allocations: 388.3 MB / 0.9328 GB, free: 92.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/1.329, allocations: 91.64 kB / 0.9329 GB, free: 92.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.777/5.106, allocations: 1.061 GB / 1.994 GB, free: 47.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.443e-06/5.106, allocations: 2.531 kB / 1.994 GB, free: 47.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002475/5.106, allocations: 80.05 kB / 1.994 GB, free: 47.67 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.00588/5.112, allocations: 3.191 MB / 1.997 GB, free: 46.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/5.112, allocations: 7.812 kB / 1.997 GB, free: 46.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009082/5.121, allocations: 1.317 MB / 1.998 GB, free: 46.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006421/5.128, allocations: 3.329 MB / 2.002 GB, free: 45.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/5.128, allocations: 166.7 kB / 2.002 GB, free: 45.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/5.128, allocations: 138.4 kB / 2.002 GB, free: 45.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003302/5.132, allocations: 2.018 MB / 2.004 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003704/5.135, allocations: 2.504 MB / 2.006 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-05/5.135, allocations: 8.562 kB / 2.006 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/5.136, allocations: 8.531 kB / 2.006 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-05/5.136, allocations: 68.61 kB / 2.006 GB, free: 45.05 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.01714/5.153, allocations: 12.81 MB / 2.019 GB, free: 39.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/5.154, allocations: 1.197 MB / 2.02 GB, free: 39.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007585/5.155, allocations: 0.6279 MB / 2.021 GB, free: 39.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/5.157, allocations: 1.78 MB / 2.022 GB, free: 37.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/5.158, allocations: 0.9468 MB / 2.023 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=122): time 3.877e-06/5.158, allocations: 0.9062 kB / 2.023 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.00655/5.165, allocations: 1.838 MB / 2.025 GB, free: 36.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001941/5.165, allocations: 0.9391 MB / 2.026 GB, free: 35.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/5.167, allocations: 1.849 MB / 2.028 GB, free: 35.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002899/5.168, allocations: 38.67 kB / 2.028 GB, free: 35.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/5.169, allocations: 1.383 MB / 2.029 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/5.169, allocations: 416.2 kB / 2.03 GB, free: 34.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/5.169, allocations: 3.969 kB / 2.03 GB, free: 34.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/5.169, allocations: 367.9 kB / 2.03 GB, free: 34.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009026/5.17, allocations: 0.6273 MB / 2.031 GB, free: 34.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/5.172, allocations: 1.223 MB / 2.032 GB, free: 33.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003388/5.175, allocations: 0.986 MB / 2.033 GB, free: 33.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/5.175, allocations: 3.781 kB / 2.033 GB, free: 33.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.0132/5.188, allocations: 2.925 MB / 2.036 GB, free: 33.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008845/5.189, allocations: 4.951 MB / 2.041 GB, free: 28.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/5.189, allocations: 13.28 kB / 2.041 GB, free: 28.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/5.19, allocations: 0.7011 MB / 2.041 GB, free: 28.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/5.193, allocations: 498.9 kB / 2.042 GB, free: 28.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/5.195, allocations: 1.909 MB / 2.044 GB, free: 27.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005178/5.2, allocations: 460.3 kB / 2.044 GB, free: 27.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/5.201, allocations: 110.4 kB / 2.044 GB, free: 27.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/5.201, allocations: 5.406 kB / 2.044 GB, free: 27.01 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01302/5.214, allocations: 2.637 MB / 2.047 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/5.214, allocations: 11.84 kB / 2.047 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/5.215, allocations: 0.7189 MB / 2.047 GB, free: 26.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/5.218, allocations: 487.3 kB / 2.048 GB, free: 26.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/5.22, allocations: 1.902 MB / 2.05 GB, free: 25.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/5.224, allocations: 372.4 kB / 2.05 GB, free: 25.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/5.224, allocations: 110.8 kB / 2.05 GB, free: 25.81 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004827/5.224, allocations: 156.8 kB / 2.05 GB, free: 25.7 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006126/5.231, allocations: 1.841 MB / 2.052 GB, free: 25.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004996/5.231, allocations: 247.6 kB / 2.052 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/5.244, allocations: 2.436 MB / 2.055 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/5.244, allocations: 17.72 kB / 2.055 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/5.244, allocations: 4.656 kB / 2.055 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01182/5.256, allocations: 2.25 MB / 2.057 GB, free: 24.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01886/5.275, allocations: 6.841 MB / 2.064 GB, free: 38.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/5.275, allocations: 7.625 kB / 2.064 GB, free: 38.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/5.276, allocations: 294.7 kB / 2.064 GB, free: 38.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/5.278, allocations: 0.6954 MB / 2.065 GB, free: 38.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/5.278, allocations: 38.8 kB / 2.065 GB, free: 38.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/5.28, allocations: 1.892 MB / 2.066 GB, free: 37.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/5.28, allocations: 10.5 kB / 2.067 GB, free: 37.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006033/5.286, allocations: 3.418 MB / 2.07 GB, free: 36.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/5.287, allocations: 0.6378 MB / 2.07 GB, free: 36.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003937/5.288, allocations: 13.06 kB / 2.07 GB, free: 36.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003004/5.291, allocations: 263.3 kB / 2.071 GB, free: 36.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/5.291, allocations: 123 kB / 2.071 GB, free: 36.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/5.291, allocations: 73.02 kB / 2.071 GB, free: 36.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001929/5.293, allocations: 1.386 MB / 2.072 GB, free: 36.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.91e-07/5.293, allocations: 0 / 2.072 GB, free: 36.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005119/5.298, allocations: 1.817 MB / 2.074 GB, free: 35.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.009202/5.307, allocations: 7.068 MB / 2.081 GB, free: 32.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004339/5.312, allocations: 2.635 MB / 2.084 GB, free: 31.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/5.312, allocations: 4.281 kB / 2.084 GB, free: 31.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/5.313, allocations: 0.7676 MB / 2.084 GB, free: 31.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005836/5.319, allocations: 1.077 MB / 2.085 GB, free: 31.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009757/5.329, allocations: 4.305 MB / 2.09 GB, free: 30.42 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/5.33, allocations: 1.776 MB / 2.091 GB, free: 29.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00366/5.334, allocations: 0.7511 MB / 2.092 GB, free: 29.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/5.335, allocations: 1.099 MB / 2.093 GB, free: 29.5 MB / 0.6511 GB Notification: Performance of SimCode: time 6.51e-07/5.335, allocations: 0 / 2.093 GB, free: 29.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/5.461, allocations: 87.33 MB / 2.178 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/5.461, allocations: 192.5 kB / 2.179 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.006/10.47, allocations: 4.031 kB / 2.179 GB, free: 15.26 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)