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.725/0.725, allocations: 127.4 MB / 134.9 MB, free: 3.746 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.001121/0.001121, allocations: 188.8 kB / 164.7 MB, free: 6.527 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.698/1.698, allocations: 205.2 MB / 399.5 MB, free: 5.863 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.0009392/0.0009391, allocations: 97.84 kB / 476.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.72e-05, allocations: 0 / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1551, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.193/1.348, allocations: 429.8 MB / 1.041 GB, free: 91.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/1.348, allocations: 97.58 kB / 1.041 GB, free: 91.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 41.65/43, allocations: 10.06 GB / 11.1 GB, free: 28.23 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.043e-06/43, allocations: 4 kB / 11.1 GB, free: 28.23 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003497/43, allocations: 351.6 kB / 11.1 GB, free: 27.89 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.04609/43.05, allocations: 10.94 MB / 11.11 GB, free: 16.86 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/43.05, allocations: 8.031 kB / 11.11 GB, free: 16.85 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/43.06, allocations: 2.227 MB / 11.12 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.026/44.09, allocations: 18.79 MB / 11.13 GB, free: 37.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006463/44.09, allocations: 191 kB / 11.13 GB, free: 37.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003488/44.09, allocations: 427.4 kB / 11.13 GB, free: 37.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01808/44.11, allocations: 6.756 MB / 11.14 GB, free: 37.88 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0255/44.14, allocations: 7.364 MB / 11.15 GB, free: 36.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003354/44.14, allocations: 16.84 kB / 11.15 GB, free: 36.84 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002229/44.14, allocations: 15.44 kB / 11.15 GB, free: 36.84 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001904/44.14, allocations: 155 kB / 11.15 GB, free: 36.84 MB / 0.9167 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.09787/44.24, allocations: 48.74 MB / 11.2 GB, free: 26.65 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009761/44.25, allocations: 5.328 MB / 11.2 GB, free: 26.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006329/44.25, allocations: 3.867 MB / 11.2 GB, free: 26.45 MB / 0.9323 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 evalFunc (simulation): time 0.03948/44.29, allocations: 12.5 MB / 11.22 GB, free: 23.62 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006712/44.3, allocations: 3.134 MB / 11.22 GB, free: 23.52 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.014/44.32, allocations: 2.359 MB / 11.22 GB, free: 23.42 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=322): time 3.97e-05/44.32, allocations: 0 / 11.22 GB, free: 23.42 MB / 0.9323 GB Notification: Performance of matching and sorting (n=324): time 0.1081/44.42, allocations: 26.26 MB / 11.25 GB, free: 20.73 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001155/44.42, allocations: 91.5 kB / 11.25 GB, free: 36.67 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03345/44.46, allocations: 11.21 MB / 11.26 GB, free: 36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002119/44.46, allocations: 42.08 kB / 11.26 GB, free: 35.97 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01111/44.47, allocations: 6.267 MB / 11.26 GB, free: 34.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002527/44.47, allocations: 1.071 MB / 11.27 GB, free: 34.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00182/44.48, allocations: 0 / 11.27 GB, free: 34.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007364/44.48, allocations: 0.5366 MB / 11.27 GB, free: 33.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00657/44.48, allocations: 3.409 MB / 11.27 GB, free: 33.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008736/44.49, allocations: 6.147 MB / 11.28 GB, free: 30.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/44.5, allocations: 4.26 MB / 11.28 GB, free: 30.49 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/44.5, allocations: 18.56 kB / 11.28 GB, free: 30.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=768) (initialization): time 0.07501/44.58, allocations: 19.66 MB / 11.3 GB, free: 29.65 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01795/44.6, allocations: 38.89 MB / 11.34 GB, free: 21.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002967/44.6, allocations: 64.98 kB / 11.34 GB, free: 21.52 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005552/44.6, allocations: 2.557 MB / 11.34 GB, free: 21.46 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009578/44.61, allocations: 1.53 MB / 11.34 GB, free: 21.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/44.63, allocations: 12.04 MB / 11.35 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01574/44.64, allocations: 1.088 MB / 11.35 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/44.65, allocations: 432.8 kB / 11.35 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/44.65, allocations: 5.844 kB / 11.35 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02213/44.67, allocations: 8.384 MB / 11.36 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003702/44.67, allocations: 59.41 kB / 11.36 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004242/44.67, allocations: 1.45 MB / 11.36 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006945/44.68, allocations: 1.378 MB / 11.37 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02212/44.7, allocations: 12.46 MB / 11.38 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01351/44.72, allocations: 0.7044 MB / 11.38 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002022/44.72, allocations: 371.1 kB / 11.38 GB, free: 11.11 MB / 0.9792 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (637): * Single equations (assignments): 622 * 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: 5 * 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: 0 * Non-linear torn systems: 5 {1 4,1 2,1 2,1 2,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.004199/44.72, allocations: 309 kB / 11.38 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05613/44.78, allocations: 14.32 MB / 11.39 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006329/44.78, allocations: 1.125 MB / 11.39 GB, free: 9.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05915/44.84, allocations: 15.2 MB / 11.41 GB, free: 9.125 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001072/44.84, allocations: 38.11 kB / 11.41 GB, free: 9.125 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.561e-05/44.84, allocations: 1.75 kB / 11.41 GB, free: 9.125 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05105/44.9, allocations: 13.44 MB / 11.42 GB, free: 8.695 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.08519/44.98, allocations: 24.3 MB / 11.45 GB, free: 23.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-05/44.98, allocations: 2.156 kB / 11.45 GB, free: 23.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00484/44.99, allocations: 0.7532 MB / 11.45 GB, free: 23.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004714/44.99, allocations: 2.358 MB / 11.45 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001201/44.99, allocations: 65.48 kB / 11.45 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09688/45.09, allocations: 36.03 MB / 11.48 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/45.09, allocations: 7.031 kB / 11.48 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06203/45.15, allocations: 18.64 MB / 11.5 GB, free: 3.262 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01008/45.16, allocations: 2.193 MB / 11.5 GB, free: 1.836 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005319/45.17, allocations: 3.062 kB / 11.5 GB, free: 1.836 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0142/45.18, allocations: 1 MB / 11.51 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002205/45.18, allocations: 290.4 kB / 11.51 GB, free: 1.027 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000821/45.18, allocations: 189.2 kB / 11.51 GB, free: 0.9141 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.015/46.2, allocations: 9.573 MB / 11.52 GB, free: 111 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.623e-06/46.2, allocations: 0 / 11.52 GB, free: 111 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.04794/46.25, allocations: 5.584 MB / 11.52 GB, free: 111 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (268): * Single equations (assignments): 246 * 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: 5 * 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: 0 * Non-linear torn systems: 5 {1 2,1 4,1 2,1 2,7 78} Notification: Performance of Backend phase and start with SimCode phase: time 0.07041/46.32, allocations: 23.87 MB / 11.54 GB, free: 108.2 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0265/46.34, allocations: 13.09 MB / 11.56 GB, free: 107.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/46.34, allocations: 4.969 kB / 11.56 GB, free: 107.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01098/46.35, allocations: 4.161 MB / 11.56 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03416/46.39, allocations: 5.745 MB / 11.57 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08099/46.47, allocations: 25.14 MB / 11.59 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01034/46.48, allocations: 6.623 MB / 11.6 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03342/46.51, allocations: 5.862 MB / 11.6 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0116/46.52, allocations: 5.403 MB / 11.61 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of SimCode: time 1.523e-06/46.52, allocations: 0 / 11.61 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.326/48.85, allocations: 378.5 MB / 11.98 GB, free: 123.1 MB / 1.011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/48.85, allocations: 175.1 kB / 11.98 GB, free: 122.9 MB / 1.011 GB Notification: Performance of buildModelFMU: Generate platform static: time 22/70.85, allocations: 0.875 kB / 11.98 GB, free: 122.9 MB / 1.011 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)