Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6",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.742/0.742, allocations: 128.7 MB / 143.7 MB, free: 2.34 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.001195/0.001195, allocations: 183.9 kB / 173.7 MB, free: 6.109 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.747/1.747, allocations: 205.4 MB / 409 MB, free: 10.49 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.0009968/0.0009968, allocations: 80.58 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 13.3 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1643, allocations: 76.76 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.258/1.423, allocations: 430.3 MB / 1.056 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/1.423, allocations: 104.3 kB / 1.056 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 41.75/43.17, allocations: 10.14 GB / 11.19 GB, free: 67.59 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.374e-06/43.17, allocations: 0 / 11.19 GB, free: 67.59 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003263/43.17, allocations: 349.8 kB / 11.19 GB, free: 67.52 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.0672/43.24, allocations: 17.33 MB / 11.21 GB, free: 61.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/43.24, allocations: 9.531 kB / 11.21 GB, free: 61.1 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004748/43.25, allocations: 0.7731 MB / 11.21 GB, free: 61.03 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/43.26, allocations: 2.227 MB / 11.21 GB, free: 60.21 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06034/43.32, allocations: 19 MB / 11.23 GB, free: 57.85 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008766/43.32, allocations: 0.5276 MB / 11.23 GB, free: 57.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003596/43.33, allocations: 0.695 MB / 11.23 GB, free: 57.84 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03926/43.37, allocations: 10.95 MB / 11.24 GB, free: 56.62 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004326/43.37, allocations: 15.69 kB / 11.24 GB, free: 56.62 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002752/43.37, allocations: 254.7 kB / 11.24 GB, free: 56.62 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/43.37, allocations: 152.3 kB / 11.24 GB, free: 56.62 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03249/43.4, allocations: 9.363 MB / 11.25 GB, free: 56.4 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.08938/43.49, allocations: 49.67 MB / 11.3 GB, free: 28.91 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0205/43.51, allocations: 7.357 MB / 11.31 GB, free: 28.66 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03797/43.55, allocations: 12.63 MB / 11.32 GB, free: 22.54 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01876/43.57, allocations: 5.925 MB / 11.33 GB, free: 19.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01342/43.58, allocations: 2.452 MB / 11.33 GB, free: 17.89 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=325): time 3.073e-05/43.58, allocations: 0 / 11.33 GB, free: 17.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=514): time 1.196/44.78, allocations: 80.05 MB / 11.41 GB, free: 88.71 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/44.78, allocations: 111.4 kB / 11.41 GB, free: 88.64 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03021/44.81, allocations: 12.06 MB / 11.42 GB, free: 87.98 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.002368/44.81, allocations: 177 kB / 11.42 GB, free: 87.95 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.009353/44.82, allocations: 6.295 MB / 11.43 GB, free: 86.93 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003064/44.82, allocations: 1.737 MB / 11.43 GB, free: 86.05 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000964/44.82, allocations: 144.3 kB / 11.43 GB, free: 86.05 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004911/44.83, allocations: 0.5956 MB / 11.43 GB, free: 85.73 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01104/44.84, allocations: 5.015 MB / 11.43 GB, free: 85.72 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01422/44.85, allocations: 7.916 MB / 11.44 GB, free: 82.39 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/44.86, allocations: 5.815 MB / 11.45 GB, free: 82.25 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/44.86, allocations: 20.59 kB / 11.45 GB, free: 82.25 MB / 0.9323 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.08674/44.95, allocations: 24.22 MB / 11.47 GB, free: 81.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.007383/44.96, allocations: 39.06 MB / 11.51 GB, free: 41.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002538/44.96, allocations: 63.73 kB / 11.51 GB, free: 41.05 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0172/44.98, allocations: 6.229 MB / 11.52 GB, free: 40.97 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/44.99, allocations: 1.789 MB / 11.52 GB, free: 40.97 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04908/45.04, allocations: 28.92 MB / 11.55 GB, free: 33.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01833/45.05, allocations: 1.344 MB / 11.55 GB, free: 33.29 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002674/45.06, allocations: 0.4967 MB / 11.55 GB, free: 33.29 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/45.06, allocations: 5.547 kB / 11.55 GB, free: 33.29 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0324/45.09, allocations: 14.42 MB / 11.56 GB, free: 32.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000276/45.09, allocations: 63.94 kB / 11.56 GB, free: 32.62 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01273/45.1, allocations: 4.302 MB / 11.57 GB, free: 32.45 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008818/45.11, allocations: 1.63 MB / 11.57 GB, free: 32.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04839/45.16, allocations: 29.3 MB / 11.6 GB, free: 42.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0163/45.18, allocations: 0.9544 MB / 11.6 GB, free: 41.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002379/45.18, allocations: 445.6 kB / 11.6 GB, free: 41.97 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 271 * 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 (736): * Single equations (assignments): 720 * 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: 6 * 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,69.4%) 82} * Non-linear torn systems: 5 {1 2,1 4,1 2,1 2,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01131/45.19, allocations: 3.094 MB / 11.6 GB, free: 41.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004495/45.19, allocations: 1.197 MB / 11.6 GB, free: 41.11 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07681/45.27, allocations: 22.63 MB / 11.62 GB, free: 40.17 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001141/45.27, allocations: 59.47 kB / 11.62 GB, free: 40.17 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.508e-05/45.27, allocations: 14.03 kB / 11.62 GB, free: 40.17 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06953/45.34, allocations: 19.93 MB / 11.64 GB, free: 39.23 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 postOpt removeSimpleEquations (simulation): time 0.107/45.45, allocations: 34.87 MB / 11.68 GB, free: 25.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.964e-05/45.45, allocations: 8.812 kB / 11.68 GB, free: 25.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006393/45.45, allocations: 1.128 MB / 11.68 GB, free: 24.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01428/45.47, allocations: 5.133 MB / 11.68 GB, free: 21.67 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00154/45.47, allocations: 185.9 kB / 11.68 GB, free: 21.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9694/46.44, allocations: 55.19 MB / 11.74 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/46.44, allocations: 8.547 kB / 11.74 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08705/46.53, allocations: 30.04 MB / 11.77 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01088/46.54, allocations: 2.576 MB / 11.77 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004951/46.54, allocations: 105.3 kB / 11.77 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01436/46.56, allocations: 1.192 MB / 11.77 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002298/46.56, allocations: 0.4997 MB / 11.77 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009699/46.56, allocations: 275 kB / 11.77 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.02021/46.58, allocations: 9.213 MB / 11.78 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.71e-07/46.58, allocations: 0 / 11.78 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.04544/46.63, allocations: 6.609 MB / 11.79 GB, free: 109.4 MB / 0.9636 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 (435): * Single equations (assignments): 412 * 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: 6 * 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: 5 {1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.09513/46.72, allocations: 35.66 MB / 11.82 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.05128/46.77, allocations: 20.58 MB / 11.84 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.966e-05/46.77, allocations: 2.75 kB / 11.84 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01941/46.79, allocations: 7.504 MB / 11.85 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02983/46.82, allocations: 5.906 MB / 11.85 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1223/46.94, allocations: 87.62 MB / 11.94 GB, free: 39.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01647/46.96, allocations: 7.149 MB / 11.95 GB, free: 38.03 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.02258/46.98, allocations: 3.801 MB / 11.95 GB, free: 37.46 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01474/47, allocations: 6.066 MB / 11.96 GB, free: 37.45 MB / 0.9636 GB Notification: Performance of SimCode: time 1.432e-06/47, allocations: 0 / 11.96 GB, free: 37.45 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.081/49.08, allocations: 437.7 MB / 12.38 GB, free: 51.22 MB / 0.9949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/49.08, allocations: 258.6 kB / 12.38 GB, free: 50.87 MB / 0.9949 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.62/74.7, allocations: 3.938 kB / 12.38 GB, free: 50.87 MB / 0.9949 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)