Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7803/0.7803, allocations: 128.7 MB / 143.7 MB, free: 2.289 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 182.2 kB / 173.7 MB, free: 6.117 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008791/0.0008787, allocations: 84.98 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 7.844 kB / 0.5604 GB, free: 97.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1685, allocations: 76.77 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.2/1.369, allocations: 429.7 MB / 1.055 GB, free: 197.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/1.369, allocations: 105.5 kB / 1.055 GB, free: 197.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 41.86/43.23, allocations: 9.913 GB / 10.97 GB, free: 70.25 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.246e-06/43.23, allocations: 0 / 10.97 GB, free: 70.25 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003698/43.24, allocations: 347.6 kB / 10.97 GB, free: 70.18 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.07174/43.31, allocations: 17.42 MB / 10.99 GB, free: 63.72 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/43.31, allocations: 11.38 kB / 10.99 GB, free: 63.72 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004938/43.31, allocations: 0.7683 MB / 10.99 GB, free: 63.64 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01644/43.33, allocations: 2.374 MB / 10.99 GB, free: 62.81 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06466/43.39, allocations: 19.35 MB / 11.01 GB, free: 60.43 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009491/43.4, allocations: 0.5184 MB / 11.01 GB, free: 60.41 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004421/43.4, allocations: 0.693 MB / 11.01 GB, free: 60.41 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04798/43.45, allocations: 15.8 MB / 11.02 GB, free: 59.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004635/43.45, allocations: 10.06 kB / 11.02 GB, free: 59.69 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003772/43.45, allocations: 242.4 kB / 11.02 GB, free: 59.69 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/43.45, allocations: 148.9 kB / 11.02 GB, free: 59.69 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04476/43.5, allocations: 20.38 MB / 11.04 GB, free: 51.05 MB / 0.9167 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.9928/44.49, allocations: 69.92 MB / 11.11 GB, free: 68.83 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02954/44.52, allocations: 12.2 MB / 11.12 GB, free: 68.67 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06028/44.58, allocations: 27.4 MB / 11.15 GB, free: 61.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03023/44.61, allocations: 10.85 MB / 11.16 GB, free: 60.94 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04597/44.66, allocations: 15.07 MB / 11.18 GB, free: 60.94 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=392): time 5.059e-05/44.66, allocations: 2.312 kB / 11.18 GB, free: 60.94 MB / 0.9167 GB Notification: Performance of matching and sorting (n=581): time 0.6622/45.32, allocations: 158.8 MB / 11.33 GB, free: 52 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/45.32, allocations: 112.6 kB / 11.33 GB, free: 51.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03298/45.35, allocations: 11.85 MB / 11.34 GB, free: 51.28 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.004148/45.36, allocations: 191 kB / 11.34 GB, free: 51.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.009858/45.37, allocations: 6.071 MB / 11.35 GB, free: 50.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005366/45.37, allocations: 1.954 MB / 11.35 GB, free: 49.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003858/45.38, allocations: 142.5 kB / 11.35 GB, free: 49.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0007793/45.38, allocations: 0.5972 MB / 11.35 GB, free: 48.98 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02092/45.4, allocations: 8.948 MB / 11.36 GB, free: 47.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02155/45.42, allocations: 11.51 MB / 11.37 GB, free: 40.35 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02009/45.44, allocations: 9.844 MB / 11.38 GB, free: 35.64 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.546e-05/45.44, allocations: 12 kB / 11.38 GB, free: 35.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.1145/45.55, allocations: 36.56 MB / 11.42 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.01271/45.57, allocations: 30.15 MB / 11.45 GB, free: 7.344 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002421/45.57, allocations: 48.62 kB / 11.45 GB, free: 7.297 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56/47.13, allocations: 173.3 MB / 11.62 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/47.14, allocations: 1.686 MB / 11.62 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08901/47.23, allocations: 43.07 MB / 11.66 GB, free: 96.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02237/47.25, allocations: 1.425 MB / 11.66 GB, free: 96.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004876/47.25, allocations: 0.8066 MB / 11.66 GB, free: 96.13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/47.25, allocations: 6.375 kB / 11.66 GB, free: 96.13 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06542/47.32, allocations: 26.8 MB / 11.69 GB, free: 85.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000264/47.32, allocations: 49.06 kB / 11.69 GB, free: 85.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56/48.88, allocations: 171.4 MB / 11.86 GB, free: 126.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008361/48.89, allocations: 1.522 MB / 11.86 GB, free: 126.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.098/48.99, allocations: 43.53 MB / 11.9 GB, free: 122.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02112/49.01, allocations: 1.035 MB / 11.9 GB, free: 122.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005206/49.01, allocations: 0.751 MB / 11.9 GB, free: 122.5 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 643 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 82} * Non-linear torn systems: 2 {39 57,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01641/49.03, allocations: 3.066 MB / 11.9 GB, free: 122.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007704/49.04, allocations: 1.207 MB / 11.91 GB, free: 122.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1206/49.16, allocations: 33.74 MB / 11.94 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001561/49.16, allocations: 73.16 kB / 11.94 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001149/49.16, allocations: 16.81 kB / 11.94 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09494/49.25, allocations: 28.1 MB / 11.97 GB, free: 121.3 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.1467/49.4, allocations: 52.19 MB / 12.02 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001162/49.4, allocations: 7.594 kB / 12.02 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006982/49.41, allocations: 1.217 MB / 12.02 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2096/49.62, allocations: 51.72 MB / 12.07 GB, free: 95.55 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002541/49.62, allocations: 209.8 kB / 12.07 GB, free: 95.48 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1565/49.78, allocations: 58.08 MB / 12.13 GB, free: 62.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/49.78, allocations: 10.25 kB / 12.13 GB, free: 62.08 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9323/50.71, allocations: 41.03 MB / 12.17 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01307/50.72, allocations: 2.965 MB / 12.17 GB, free: 125.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006499/50.73, allocations: 132.9 kB / 12.17 GB, free: 125.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01722/50.75, allocations: 1.214 MB / 12.17 GB, free: 125.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003634/50.75, allocations: 0.5692 MB / 12.17 GB, free: 125.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002382/50.75, allocations: 309.9 kB / 12.17 GB, free: 125.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.02444/50.78, allocations: 9.08 MB / 12.18 GB, free: 125 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.695e-06/50.78, allocations: 0 / 12.18 GB, free: 125 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.05924/50.83, allocations: 7.18 MB / 12.19 GB, free: 125 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (485): * Single equations (assignments): 465 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,56.2%) 74} * Non-linear torn systems: 2 {38 56,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.1298/50.96, allocations: 46.73 MB / 12.23 GB, free: 119.7 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.09577/51.06, allocations: 37.45 MB / 12.27 GB, free: 118.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.37e-05/51.06, allocations: 2.938 kB / 12.27 GB, free: 118.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.03266/51.09, allocations: 12 MB / 12.28 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03826/51.13, allocations: 6.22 MB / 12.29 GB, free: 118 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1366/51.27, allocations: 79.94 MB / 12.36 GB, free: 65.71 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01712/51.29, allocations: 7.247 MB / 12.37 GB, free: 64.66 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.02402/51.31, allocations: 3.69 MB / 12.38 GB, free: 64.4 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01493/51.32, allocations: 6.116 MB / 12.38 GB, free: 64.39 MB / 0.9792 GB Notification: Performance of SimCode: time 1.523e-06/51.32, allocations: 0 / 12.38 GB, free: 64.39 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.141/54.47, allocations: 0.56 GB / 12.94 GB, free: 184.1 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/54.47, allocations: 261.3 kB / 12.94 GB, free: 183.7 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.79/83.25, allocations: 5.75 kB / 12.94 GB, free: 183.7 MB / 1.042 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified5.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)