Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.6 MB / 307.5 MB, free: 5.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 180.8 kB / 377.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.4 MB / 0.6366 GB, free: 9.527 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 94.12 kB / 0.7509 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003765, allocations: 11.98 kB / 0.8749 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2973, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.82/2.117, allocations: 465.9 MB / 1.443 GB, free: 239 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/2.118, allocations: 100.5 kB / 1.444 GB, free: 239 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 46.19/48.3, allocations: 10.36 GB / 11.8 GB, free: 98.67 MB / 1.245 GB Notification: Performance of FrontEnd: time 4.228e-06/48.3, allocations: 0 / 11.8 GB, free: 98.67 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.004401/48.31, allocations: 394 kB / 11.8 GB, free: 98.6 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.08207/48.39, allocations: 18.72 MB / 11.82 GB, free: 91.76 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 7.163e-05/48.39, allocations: 9.719 kB / 11.82 GB, free: 91.76 MB / 1.245 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007646/48.4, allocations: 0.9149 MB / 11.82 GB, free: 91.68 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.018/48.42, allocations: 2.182 MB / 11.82 GB, free: 90.82 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07357/48.49, allocations: 20.28 MB / 11.84 GB, free: 88.56 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001223/48.49, allocations: 0.603 MB / 11.84 GB, free: 88.54 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005718/48.5, allocations: 0.8103 MB / 11.84 GB, free: 88.54 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04513/48.54, allocations: 14.24 MB / 11.86 GB, free: 87.75 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007278/48.54, allocations: 9.719 kB / 11.86 GB, free: 87.75 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004664/48.55, allocations: 293.2 kB / 11.86 GB, free: 87.75 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003116/48.55, allocations: 186.2 kB / 11.86 GB, free: 87.75 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03863/48.59, allocations: 18.47 MB / 11.88 GB, free: 87.69 MB / 1.245 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.1486/48.73, allocations: 74.24 MB / 11.95 GB, free: 53.69 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01783/48.75, allocations: 9.794 MB / 11.96 GB, free: 53.51 MB / 1.245 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.07242/48.83, allocations: 29.94 MB / 11.99 GB, free: 45 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01687/48.84, allocations: 8.273 MB / 12 GB, free: 44.87 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04589/48.89, allocations: 14.73 MB / 12.01 GB, free: 44.02 MB / 1.245 GB Notification: Performance of pre-optimization done (n=427): time 5.093e-05/48.89, allocations: 0 / 12.01 GB, free: 44.02 MB / 1.245 GB Notification: Performance of matching and sorting (n=616): time 1.592/50.48, allocations: 108.2 MB / 12.12 GB, free: 103.6 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/50.48, allocations: 119.1 kB / 12.12 GB, free: 103.5 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03288/50.51, allocations: 12.74 MB / 12.13 GB, free: 102.9 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.004411/50.52, allocations: 191.3 kB / 12.13 GB, free: 102.9 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01135/50.53, allocations: 6.666 MB / 12.14 GB, free: 102.7 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.005861/50.54, allocations: 2.081 MB / 12.14 GB, free: 102.7 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002819/50.54, allocations: 156.2 kB / 12.14 GB, free: 102.7 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0006912/50.54, allocations: 0.6172 MB / 12.14 GB, free: 102.4 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0191/50.56, allocations: 8.52 MB / 12.15 GB, free: 102.3 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0241/50.58, allocations: 11.31 MB / 12.16 GB, free: 99.21 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02144/50.6, allocations: 9.478 MB / 12.17 GB, free: 99.06 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001854/50.6, allocations: 17.09 kB / 12.17 GB, free: 99.06 MB / 1.245 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.07925/50.68, allocations: 27.43 MB / 12.19 GB, free: 98.09 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.008969/50.69, allocations: 34.79 MB / 12.23 GB, free: 62.04 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003375/50.69, allocations: 53.12 kB / 12.23 GB, free: 62.04 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6296/51.32, allocations: 146.8 MB / 12.37 GB, free: 60.98 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01246/51.33, allocations: 1.946 MB / 12.37 GB, free: 60.97 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04426/51.38, allocations: 24.83 MB / 12.4 GB, free: 55.71 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02536/51.4, allocations: 1.358 MB / 12.4 GB, free: 55.6 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005553/51.41, allocations: 0.8133 MB / 12.4 GB, free: 55.6 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/51.41, allocations: 2.969 kB / 12.4 GB, free: 55.6 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07379/51.48, allocations: 26.39 MB / 12.42 GB, free: 55.1 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003273/51.48, allocations: 55.56 kB / 12.43 GB, free: 55.1 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6157/52.1, allocations: 147.1 MB / 12.57 GB, free: 5.449 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01095/52.11, allocations: 1.938 MB / 12.57 GB, free: 3.648 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314/53.43, allocations: 29.51 MB / 12.6 GB, free: 145.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02361/53.45, allocations: 1.326 MB / 12.6 GB, free: 145.5 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005548/53.45, allocations: 0.7714 MB / 12.6 GB, free: 145.5 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (758): * Single equations (assignments): 744 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,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: 3 {32 38,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01484/53.47, allocations: 3.356 MB / 12.6 GB, free: 145.3 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008191/53.48, allocations: 1.29 MB / 12.61 GB, free: 145.3 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2008/53.68, allocations: 47.15 MB / 12.65 GB, free: 144.7 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000232/53.68, allocations: 78.91 kB / 12.65 GB, free: 144.7 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-05/53.68, allocations: 8.797 kB / 12.65 GB, free: 144.7 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1838/53.86, allocations: 41.56 MB / 12.69 GB, free: 144.1 MB / 1.292 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.1291/53.99, allocations: 48.57 MB / 12.74 GB, free: 137.8 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000101/53.99, allocations: 7.719 kB / 12.74 GB, free: 137.8 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00801/54, allocations: 1.35 MB / 12.74 GB, free: 137.8 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1797/54.18, allocations: 42.02 MB / 12.78 GB, free: 137.7 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002303/54.18, allocations: 203.1 kB / 12.78 GB, free: 137.7 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02018/54.2, allocations: 13.76 MB / 12.8 GB, free: 132.5 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/54.2, allocations: 15.67 kB / 12.8 GB, free: 132.5 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.138/54.34, allocations: 45.04 MB / 12.84 GB, free: 129 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0133/54.35, allocations: 3.098 MB / 12.84 GB, free: 128.2 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006562/54.36, allocations: 131.7 kB / 12.84 GB, free: 128.2 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01763/54.38, allocations: 1.055 MB / 12.84 GB, free: 128.2 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002724/54.38, allocations: 479.9 kB / 12.84 GB, free: 128.2 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002388/54.38, allocations: 304.5 kB / 12.85 GB, free: 128.2 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02649/54.41, allocations: 9.743 MB / 12.85 GB, free: 127.8 MB / 1.292 GB Notification: Performance of sort global known variables: time 2.284e-06/54.41, allocations: 0 / 12.85 GB, free: 127.8 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.06287/54.47, allocations: 7.191 MB / 12.86 GB, free: 127.8 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (536): * Single equations (assignments): 514 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,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: 3 {8 74,30 38,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.1498/54.62, allocations: 50.71 MB / 12.91 GB, free: 110.2 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.07932/54.7, allocations: 34.58 MB / 12.94 GB, free: 93.14 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.32e-05/54.7, allocations: 4 kB / 12.94 GB, free: 93.14 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02076/54.72, allocations: 9.564 MB / 12.95 GB, free: 88.45 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03927/54.76, allocations: 6.807 MB / 12.96 GB, free: 84.42 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1009/54.86, allocations: 81.25 MB / 13.04 GB, free: 5.09 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01432/54.88, allocations: 7.722 MB / 13.05 GB, free: 15.96 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.02538/54.9, allocations: 4.091 MB / 13.05 GB, free: 13 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01904/54.92, allocations: 6.688 MB / 13.06 GB, free: 6.867 MB / 1.307 GB Notification: Performance of SimCode: time 1.573e-06/54.92, allocations: 0 / 13.06 GB, free: 6.867 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.986/58.91, allocations: 0.5355 GB / 13.59 GB, free: 190.1 MB / 1.37 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/58.91, allocations: 255.1 kB / 13.59 GB, free: 189.8 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.38/90.29, allocations: 0 / 13.59 GB, free: 189.8 MB / 1.37 GB (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified4.fmu > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)