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.001083/0.001083, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4683/0.4683, allocations: 90.8 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.3 MB / 348.3 MB, free: 472 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009182/0.0009181, allocations: 88.69 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.466e-05/4.469e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4266, allocations: 72.3 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.582, allocations: 389 MB / 0.9402 GB, free: 230.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/1.582, allocations: 85.22 kB / 0.9403 GB, free: 230.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.553/5.135, allocations: 1.066 GB / 2.006 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/5.135, allocations: 2.734 kB / 2.006 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003125/5.136, allocations: 79.36 kB / 2.007 GB, free: 49.43 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.007341/5.143, allocations: 3.186 MB / 2.01 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/5.143, allocations: 15.83 kB / 2.01 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004594/5.144, allocations: 319.5 kB / 2.01 GB, free: 47.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00912/5.153, allocations: 1.318 MB / 2.011 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006104/5.159, allocations: 3.33 MB / 2.015 GB, free: 46.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/5.159, allocations: 256.9 kB / 2.015 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003485/5.159, allocations: 240 kB / 2.015 GB, free: 46.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004295/5.164, allocations: 2.82 MB / 2.018 GB, free: 46.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.782e-05/5.164, allocations: 10 kB / 2.018 GB, free: 46.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/5.164, allocations: 102.2 kB / 2.018 GB, free: 46.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.033e-05/5.164, allocations: 73.66 kB / 2.018 GB, free: 46.42 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003364/5.167, allocations: 2.165 MB / 2.02 GB, free: 46.39 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.01664/5.184, allocations: 13.33 MB / 2.033 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/5.186, allocations: 1.235 MB / 2.034 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008788/5.187, allocations: 0.6651 MB / 2.035 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/5.188, allocations: 1.774 MB / 2.037 GB, free: 38.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/5.19, allocations: 1.001 MB / 2.038 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=122): time 3.747e-06/5.19, allocations: 0 / 2.038 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.004782/5.194, allocations: 1.691 MB / 2.039 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002231/5.195, allocations: 0.9413 MB / 2.04 GB, free: 36.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/5.198, allocations: 2.263 MB / 2.042 GB, free: 36.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003849/5.199, allocations: 56.7 kB / 2.042 GB, free: 36.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/5.2, allocations: 1.361 MB / 2.044 GB, free: 35.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004324/5.2, allocations: 428.6 kB / 2.044 GB, free: 35.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/5.2, allocations: 33.69 kB / 2.044 GB, free: 35.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001009/5.2, allocations: 368.7 kB / 2.045 GB, free: 35.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/5.201, allocations: 0.6525 MB / 2.045 GB, free: 35.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/5.203, allocations: 1.268 MB / 2.046 GB, free: 34.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/5.204, allocations: 0.7848 MB / 2.047 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/5.204, allocations: 6 kB / 2.047 GB, free: 34.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01205/5.216, allocations: 2.889 MB / 2.05 GB, free: 34.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009274/5.217, allocations: 5.036 MB / 2.055 GB, free: 28.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/5.217, allocations: 10.47 kB / 2.055 GB, free: 28.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/5.219, allocations: 0.8234 MB / 2.056 GB, free: 28.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002663/5.222, allocations: 0.4915 MB / 2.056 GB, free: 28.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/5.224, allocations: 1.808 MB / 2.058 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005041/5.229, allocations: 0.5276 MB / 2.059 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/5.229, allocations: 108.5 kB / 2.059 GB, free: 27.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/5.229, allocations: 3.125 kB / 2.059 GB, free: 27.6 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01073/5.24, allocations: 2.618 MB / 2.061 GB, free: 26.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/5.24, allocations: 15.03 kB / 2.061 GB, free: 26.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002122/5.242, allocations: 0.821 MB / 2.062 GB, free: 26.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/5.244, allocations: 485.1 kB / 2.062 GB, free: 26.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/5.246, allocations: 1.807 MB / 2.064 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004646/5.251, allocations: 460.6 kB / 2.065 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/5.251, allocations: 106.5 kB / 2.065 GB, free: 24.89 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.000525/5.251, allocations: 216.8 kB / 2.065 GB, free: 24.71 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005386/5.252, allocations: 279.8 kB / 2.065 GB, free: 24.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/5.263, allocations: 2.303 MB / 2.068 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/5.263, allocations: 17.66 kB / 2.068 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/5.263, allocations: 7 kB / 2.068 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009668/5.272, allocations: 2.074 MB / 2.07 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/5.288, allocations: 7.022 MB / 2.076 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/5.288, allocations: 8.062 kB / 2.076 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/5.289, allocations: 290.3 kB / 2.077 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/5.291, allocations: 0.8051 MB / 2.077 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/5.292, allocations: 49.22 kB / 2.078 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/5.293, allocations: 1.793 MB / 2.079 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/5.293, allocations: 11.72 kB / 2.079 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/5.297, allocations: 3.401 MB / 2.083 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/5.299, allocations: 0.6684 MB / 2.083 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004278/5.299, allocations: 38.78 kB / 2.083 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003106/5.302, allocations: 299.9 kB / 2.084 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/5.303, allocations: 114.5 kB / 2.084 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/5.303, allocations: 78.53 kB / 2.084 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002524/5.305, allocations: 1.747 MB / 2.085 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/5.305, allocations: 0 / 2.085 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005035/5.31, allocations: 1.849 MB / 2.087 GB, free: 13.18 MB / 0.6355 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.006553/5.317, allocations: 6.949 MB / 2.094 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004406/5.321, allocations: 2.799 MB / 2.097 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/5.321, allocations: 4.719 kB / 2.097 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/5.323, allocations: 0.8016 MB / 2.098 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006389/5.329, allocations: 1.391 MB / 2.099 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/5.343, allocations: 4.683 MB / 2.104 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/5.344, allocations: 1.775 MB / 2.105 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004965/5.349, allocations: 0.8521 MB / 2.106 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/5.351, allocations: 1.105 MB / 2.107 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of SimCode: time 1.943e-06/5.351, allocations: 0 / 2.107 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5474/5.899, allocations: 106 MB / 2.211 GB, free: 57.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/5.899, allocations: 231.6 kB / 2.211 GB, free: 56.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.683/11.58, allocations: 0.6562 kB / 2.211 GB, free: 56.93 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)