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.658/1.658, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001118/0.001118, allocations: 186.7 kB / 371.6 MB, free: 3.367 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.571/1.571, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0009642/0.0009642, allocations: 90.83 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.381e-05/4.391e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3086, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.866/2.174, allocations: 465.8 MB / 1.435 GB, free: 293 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/2.175, allocations: 91.41 kB / 1.435 GB, free: 293 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 45.34/47.51, allocations: 10.33 GB / 11.76 GB, free: 106 MB / 1.245 GB Notification: Performance of FrontEnd: time 1.533e-06/47.51, allocations: 0.5469 kB / 11.76 GB, free: 106 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.003505/47.52, allocations: 387.5 kB / 11.76 GB, free: 106 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.05309/47.57, allocations: 12.12 MB / 11.78 GB, free: 100.8 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/47.57, allocations: 8.625 kB / 11.78 GB, free: 100.8 MB / 1.245 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005572/47.57, allocations: 0.9053 MB / 11.78 GB, free: 100.7 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01727/47.59, allocations: 2.183 MB / 11.78 GB, free: 99.87 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07358/47.66, allocations: 20.07 MB / 11.8 GB, free: 97.61 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001163/47.67, allocations: 0.5995 MB / 11.8 GB, free: 97.59 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006342/47.67, allocations: 0.8131 MB / 11.8 GB, free: 97.59 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04497/47.72, allocations: 13.99 MB / 11.81 GB, free: 96.8 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003673/47.72, allocations: 16.39 kB / 11.81 GB, free: 96.8 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003588/47.72, allocations: 294.7 kB / 11.81 GB, free: 96.8 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002006/47.72, allocations: 186.5 kB / 11.81 GB, free: 96.8 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03665/47.76, allocations: 18.05 MB / 11.83 GB, free: 96.74 MB / 1.245 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.1451/47.9, allocations: 74.2 MB / 11.9 GB, free: 62.91 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01638/47.92, allocations: 9.52 MB / 11.91 GB, free: 62.75 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01251/47.93, allocations: 8.485 MB / 11.92 GB, free: 62.69 MB / 1.245 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.06617/48, allocations: 30.27 MB / 11.95 GB, free: 54.07 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01326/48.01, allocations: 8.11 MB / 11.96 GB, free: 53.95 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04527/48.06, allocations: 14.97 MB / 11.97 GB, free: 53.36 MB / 1.245 GB Notification: Performance of pre-optimization done (n=427): time 4.38e-05/48.06, allocations: 2.469 kB / 11.97 GB, free: 53.36 MB / 1.245 GB Notification: Performance of matching and sorting (n=613): time 0.2314/48.29, allocations: 73.41 MB / 12.04 GB, free: 38.95 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/48.29, allocations: 120.3 kB / 12.05 GB, free: 38.88 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02861/48.32, allocations: 12.6 MB / 12.06 GB, free: 34.49 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.003691/48.32, allocations: 190.7 kB / 12.06 GB, free: 34.34 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.007878/48.33, allocations: 6.669 MB / 12.06 GB, free: 29.12 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.004215/48.33, allocations: 2.072 MB / 12.07 GB, free: 27.52 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001849/48.34, allocations: 158.9 kB / 12.07 GB, free: 27.39 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0004918/48.34, allocations: 0.6189 MB / 12.07 GB, free: 26.94 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01168/48.35, allocations: 7.815 MB / 12.07 GB, free: 23.77 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01475/48.36, allocations: 10.6 MB / 12.08 GB, free: 14.04 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01477/48.38, allocations: 8.793 MB / 12.09 GB, free: 6.645 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.276e-05/48.38, allocations: 16 kB / 12.09 GB, free: 6.629 MB / 1.245 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.06437/48.44, allocations: 26.07 MB / 12.12 GB, free: 1.566 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.234/49.68, allocations: 34.78 MB / 12.15 GB, free: 117.2 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001991/49.68, allocations: 55.28 kB / 12.15 GB, free: 117.2 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6586/50.33, allocations: 146.4 MB / 12.3 GB, free: 116.9 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0119/50.35, allocations: 1.959 MB / 12.3 GB, free: 116.9 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03921/50.39, allocations: 24.61 MB / 12.32 GB, free: 111.8 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02361/50.41, allocations: 1.363 MB / 12.32 GB, free: 111.7 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005299/50.41, allocations: 0.8131 MB / 12.32 GB, free: 111.7 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/50.41, allocations: 5.047 kB / 12.32 GB, free: 111.7 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05279/50.47, allocations: 24.92 MB / 12.35 GB, free: 111.3 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003868/50.47, allocations: 54.25 kB / 12.35 GB, free: 111.3 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6307/51.1, allocations: 146.8 MB / 12.49 GB, free: 65.91 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01008/51.11, allocations: 1.949 MB / 12.49 GB, free: 64.09 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04941/51.16, allocations: 28.88 MB / 12.52 GB, free: 42.41 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02391/51.18, allocations: 1.329 MB / 12.52 GB, free: 41.28 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004553/51.19, allocations: 0.7727 MB / 12.52 GB, free: 40.57 MB / 1.276 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 747 * 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,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.005844/51.19, allocations: 0.5545 MB / 12.52 GB, free: 40.35 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005552/51.2, allocations: 1.291 MB / 12.53 GB, free: 39.76 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0772/51.28, allocations: 26.7 MB / 12.55 GB, free: 21.58 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001517/51.28, allocations: 78.17 kB / 12.55 GB, free: 21.5 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/51.28, allocations: 0 / 12.55 GB, free: 21.5 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05407/51.33, allocations: 21.13 MB / 12.57 GB, free: 7.141 MB / 1.276 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 1.421/52.75, allocations: 59.96 MB / 12.63 GB, free: 160.6 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.883e-05/52.75, allocations: 10.34 kB / 12.63 GB, free: 160.6 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007531/52.76, allocations: 1.359 MB / 12.63 GB, free: 160.6 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1891/52.95, allocations: 41.92 MB / 12.67 GB, free: 160.6 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002141/52.95, allocations: 203 kB / 12.67 GB, free: 160.6 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02031/52.97, allocations: 13.64 MB / 12.69 GB, free: 155.5 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/52.97, allocations: 10.7 kB / 12.69 GB, free: 155.5 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1046/53.08, allocations: 38.62 MB / 12.72 GB, free: 152.1 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01306/53.09, allocations: 3.092 MB / 12.73 GB, free: 152 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007646/53.1, allocations: 137.1 kB / 12.73 GB, free: 152 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0174/53.11, allocations: 1.06 MB / 12.73 GB, free: 152 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002446/53.12, allocations: 472.7 kB / 12.73 GB, free: 151.9 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001191/53.12, allocations: 309.7 kB / 12.73 GB, free: 151.9 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.0218/53.14, allocations: 9.597 MB / 12.74 GB, free: 151.5 MB / 1.307 GB Notification: Performance of sort global known variables: time 3.01e-07/53.14, allocations: 0 / 12.74 GB, free: 151.5 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.05127/53.19, allocations: 7.172 MB / 12.75 GB, free: 151.5 MB / 1.307 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (537): * Single equations (assignments): 515 * 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 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.1098/53.3, allocations: 44.17 MB / 12.79 GB, free: 145 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.06992/53.37, allocations: 32.93 MB / 12.82 GB, free: 144.3 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/53.37, allocations: 6.125 kB / 12.82 GB, free: 144.3 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.01869/53.39, allocations: 8.942 MB / 12.83 GB, free: 144.2 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03997/53.43, allocations: 6.828 MB / 12.84 GB, free: 144.1 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07144/53.5, allocations: 26.37 MB / 12.86 GB, free: 139.2 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01238/53.51, allocations: 7.662 MB / 12.87 GB, free: 138.2 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.03874/53.55, allocations: 6.767 MB / 12.88 GB, free: 137.9 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01234/53.56, allocations: 6.415 MB / 12.88 GB, free: 137.9 MB / 1.307 GB Notification: Performance of SimCode: time 1.223e-06/53.56, allocations: 0 / 12.88 GB, free: 137.9 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.974/56.54, allocations: 0.5644 GB / 13.45 GB, free: 49.69 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/56.54, allocations: 218 kB / 13.45 GB, free: 49.47 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.08/87.62, allocations: 4 kB / 13.45 GB, free: 49.46 MB / 1.307 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)