Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified4",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.7528/0.7528, allocations: 128.7 MB / 143.7 MB, free: 2.328 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.00114/0.00114, allocations: 182.3 kB / 173.7 MB, free: 6.141 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.694/1.694, allocations: 205.4 MB / 409 MB, free: 10.51 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.00104/0.00104, allocations: 89.34 kB / 486.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 8.438 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1652, allocations: 76.77 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.379, allocations: 429 MB / 1.054 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.379, allocations: 107.1 kB / 1.054 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 42.38/43.76, allocations: 9.968 GB / 11.02 GB, free: 82.44 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.575e-06/43.76, allocations: 0 / 11.02 GB, free: 82.44 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003867/43.77, allocations: 383.3 kB / 11.02 GB, free: 82.36 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.07758/43.84, allocations: 18.6 MB / 11.04 GB, free: 75.41 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/43.84, allocations: 9.219 kB / 11.04 GB, free: 75.41 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006036/43.85, allocations: 0.901 MB / 11.04 GB, free: 75.33 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01932/43.87, allocations: 2.323 MB / 11.04 GB, free: 74.45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07472/43.94, allocations: 21.49 MB / 11.07 GB, free: 71.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/43.94, allocations: 0.5952 MB / 11.07 GB, free: 71.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005429/43.95, allocations: 0.7948 MB / 11.07 GB, free: 71.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05297/44, allocations: 16.59 MB / 11.08 GB, free: 71.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000601/44, allocations: 11.53 kB / 11.08 GB, free: 71.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004553/44.01, allocations: 285.4 kB / 11.08 GB, free: 71.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002509/44.01, allocations: 185.1 kB / 11.08 GB, free: 71.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04643/44.05, allocations: 20.8 MB / 11.1 GB, free: 64.02 MB / 0.948 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 1.075/45.13, allocations: 74.05 MB / 11.18 GB, free: 86.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03014/45.16, allocations: 12.16 MB / 11.19 GB, free: 86.59 MB / 0.948 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 evalFunc (simulation): time 0.06825/45.23, allocations: 27.99 MB / 11.21 GB, free: 78.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02868/45.26, allocations: 10.72 MB / 11.23 GB, free: 78.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04756/45.3, allocations: 14.74 MB / 11.24 GB, free: 78.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=425): time 5.815e-05/45.3, allocations: 0 / 11.24 GB, free: 78.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=614): time 1.003/46.31, allocations: 215.9 MB / 11.45 GB, free: 42.15 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/46.31, allocations: 116.9 kB / 11.45 GB, free: 42.02 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0356/46.34, allocations: 12.51 MB / 11.46 GB, free: 33.17 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.004788/46.35, allocations: 193.2 kB / 11.46 GB, free: 33.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01209/46.36, allocations: 6.686 MB / 11.47 GB, free: 30.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005782/46.37, allocations: 2.072 MB / 11.47 GB, free: 29.03 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003965/46.37, allocations: 157.8 kB / 11.47 GB, free: 29 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.00082/46.37, allocations: 0.6194 MB / 11.47 GB, free: 28.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01803/46.39, allocations: 8.873 MB / 11.48 GB, free: 22.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02089/46.41, allocations: 11.66 MB / 11.49 GB, free: 13.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02074/46.43, allocations: 9.868 MB / 11.5 GB, free: 7.453 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000145/46.43, allocations: 16 kB / 11.5 GB, free: 7.438 MB / 0.948 GB Notification: Performance of matching and sorting (n=1036) (initialization): time 1.147/47.58, allocations: 36.05 MB / 11.54 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.008569/47.59, allocations: 36.2 MB / 11.57 GB, free: 71.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002846/47.59, allocations: 56.19 kB / 11.57 GB, free: 71.45 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6169/48.2, allocations: 149.4 MB / 11.72 GB, free: 70.95 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/48.22, allocations: 1.719 MB / 11.72 GB, free: 70.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0875/48.3, allocations: 40.2 MB / 11.76 GB, free: 65.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02585/48.33, allocations: 1.47 MB / 11.76 GB, free: 65.01 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006961/48.34, allocations: 0.8273 MB / 11.76 GB, free: 65.01 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/48.34, allocations: 7.156 kB / 11.76 GB, free: 65.01 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06962/48.41, allocations: 26.38 MB / 11.79 GB, free: 64.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000369/48.41, allocations: 54.78 kB / 11.79 GB, free: 64.52 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552/49.96, allocations: 147.5 MB / 11.93 GB, free: 139.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009074/49.97, allocations: 1.68 MB / 11.93 GB, free: 139.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0777/50.04, allocations: 40.65 MB / 11.97 GB, free: 135.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01999/50.06, allocations: 1.082 MB / 11.97 GB, free: 135.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004374/50.07, allocations: 0.768 MB / 11.97 GB, free: 135.3 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 245 * 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 (756): * Single equations (assignments): 743 * 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,66.7%) 82} * Non-linear torn systems: 2 {32 38,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01317/50.08, allocations: 3.334 MB / 11.98 GB, free: 135.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006849/50.09, allocations: 1.283 MB / 11.98 GB, free: 135.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1124/50.2, allocations: 34.12 MB / 12.01 GB, free: 134.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002527/50.2, allocations: 77.83 kB / 12.01 GB, free: 134.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001392/50.2, allocations: 16.98 kB / 12.01 GB, free: 134.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09771/50.3, allocations: 28.41 MB / 12.04 GB, free: 134 MB / 1.01 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.2786/50.58, allocations: 75.75 MB / 12.11 GB, free: 127.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001029/50.58, allocations: 6.531 kB / 12.11 GB, free: 127.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007152/50.59, allocations: 1.172 MB / 12.12 GB, free: 127.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1818/50.77, allocations: 44.6 MB / 12.16 GB, free: 109.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002514/50.77, allocations: 216.9 kB / 12.16 GB, free: 109.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1419/50.91, allocations: 55.96 MB / 12.21 GB, free: 77.47 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/50.91, allocations: 11.09 kB / 12.21 GB, free: 77.46 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.143/52.06, allocations: 64.45 MB / 12.28 GB, free: 139 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0146/52.07, allocations: 3.075 MB / 12.28 GB, free: 138.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006831/52.08, allocations: 137.2 kB / 12.28 GB, free: 138.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01797/52.09, allocations: 1.24 MB / 12.28 GB, free: 138.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0034/52.1, allocations: 0.5771 MB / 12.28 GB, free: 138.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00204/52.1, allocations: 313.9 kB / 12.28 GB, free: 138.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.02687/52.13, allocations: 9.573 MB / 12.29 GB, free: 138.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.41e-07/52.13, allocations: 0 / 12.29 GB, free: 138.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.06274/52.19, allocations: 7.761 MB / 12.3 GB, free: 138.6 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (532): * Single equations (assignments): 512 * 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 {30 38,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.2559/52.45, allocations: 70.56 MB / 12.37 GB, free: 132.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.09051/52.54, allocations: 36.41 MB / 12.4 GB, free: 131.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.147e-05/52.54, allocations: 4.188 kB / 12.4 GB, free: 131.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.02971/52.57, allocations: 11.57 MB / 12.41 GB, free: 131.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03835/52.6, allocations: 6.665 MB / 12.42 GB, free: 131.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.141/52.75, allocations: 88.73 MB / 12.51 GB, free: 71.56 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01738/52.76, allocations: 7.738 MB / 12.52 GB, free: 70.37 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.03108/52.79, allocations: 4.016 MB / 12.52 GB, free: 69.75 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01625/52.81, allocations: 6.685 MB / 12.53 GB, free: 69.74 MB / 1.01 GB Notification: Performance of SimCode: time 1.122e-06/52.81, allocations: 4 kB / 12.53 GB, free: 69.73 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.388/56.2, allocations: 0.5764 GB / 13.1 GB, free: 146.6 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/56.2, allocations: 264.6 kB / 13.1 GB, free: 146.3 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.27/85.47, allocations: 0 / 13.1 GB, free: 146.3 MB / 1.057 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified4.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)