Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified5",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.637/1.637, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.0009623/0.0009626, allocations: 176.9 kB / 366.7 MB, free: 1.641 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.691/1.691, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0009177/0.0009174, allocations: 95.06 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.155e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7737/0.7737, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.968, allocations: 465.8 MB / 1.428 GB, free: 87.01 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.969, allocations: 92.3 kB / 1.428 GB, free: 86.97 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 43.21/45.18, allocations: 10.22 GB / 11.65 GB, free: 72.89 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.094e-06/45.18, allocations: 4 kB / 11.65 GB, free: 72.89 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003013/45.18, allocations: 344.2 kB / 11.65 GB, free: 72.82 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.04733/45.23, allocations: 11.15 MB / 11.66 GB, free: 67.76 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/45.23, allocations: 8.531 kB / 11.66 GB, free: 67.76 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01591/45.24, allocations: 2.225 MB / 11.66 GB, free: 66.93 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06325/45.31, allocations: 18.61 MB / 11.68 GB, free: 64.57 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005681/45.31, allocations: 197.5 kB / 11.68 GB, free: 64.57 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004561/45.31, allocations: 433.5 kB / 11.68 GB, free: 64.57 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02992/45.34, allocations: 17.89 MB / 11.7 GB, free: 64.54 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03402/45.38, allocations: 12.22 MB / 11.71 GB, free: 63.91 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002435/45.38, allocations: 7.031 kB / 11.71 GB, free: 63.91 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002379/45.38, allocations: 9.438 kB / 11.71 GB, free: 63.91 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/45.38, allocations: 145.8 kB / 11.71 GB, free: 63.91 MB / 1.198 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.1148/45.49, allocations: 69.12 MB / 11.78 GB, free: 15.53 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/45.51, allocations: 10.23 MB / 11.79 GB, free: 6.402 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01179/45.52, allocations: 8.858 MB / 11.8 GB, free: 14.76 MB / 1.214 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 1.166/46.68, allocations: 29.37 MB / 11.83 GB, free: 100.8 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01369/46.7, allocations: 7.991 MB / 11.83 GB, free: 100.7 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04507/46.74, allocations: 15.11 MB / 11.85 GB, free: 100.7 MB / 1.214 GB Notification: Performance of pre-optimization done (n=393): time 5.386e-05/46.74, allocations: 0.6875 kB / 11.85 GB, free: 100.7 MB / 1.214 GB Notification: Performance of matching and sorting (n=395): time 0.1024/46.85, allocations: 37.17 MB / 11.89 GB, free: 98.77 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/46.85, allocations: 96.17 kB / 11.89 GB, free: 98.7 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02583/46.87, allocations: 11.13 MB / 11.9 GB, free: 98.05 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003528/46.88, allocations: 42.64 kB / 11.9 GB, free: 98.02 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.008111/46.88, allocations: 5.984 MB / 11.9 GB, free: 97.02 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.003956/46.89, allocations: 1.294 MB / 11.9 GB, free: 96.35 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/46.89, allocations: 0 / 11.9 GB, free: 96.35 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0004818/46.89, allocations: 0.5414 MB / 11.9 GB, free: 96.03 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009141/46.9, allocations: 6.909 MB / 11.91 GB, free: 96.02 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01387/46.91, allocations: 9.332 MB / 11.92 GB, free: 93.16 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/46.93, allocations: 7.969 MB / 11.93 GB, free: 93.05 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/46.93, allocations: 13.25 kB / 11.93 GB, free: 93.05 MB / 1.214 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.05867/46.99, allocations: 22.94 MB / 11.95 GB, free: 92.14 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.007845/46.99, allocations: 29.53 MB / 11.98 GB, free: 61.46 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002593/47, allocations: 49.06 kB / 11.98 GB, free: 61.46 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7294/47.72, allocations: 167.2 MB / 12.14 GB, free: 60.09 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008495/47.73, allocations: 1.29 MB / 12.14 GB, free: 60.09 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04245/47.78, allocations: 25.49 MB / 12.17 GB, free: 52.78 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02111/47.8, allocations: 0.8085 MB / 12.17 GB, free: 52.26 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004561/47.8, allocations: 0.7282 MB / 12.17 GB, free: 51.84 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/47.8, allocations: 8 kB / 12.17 GB, free: 51.83 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04068/47.84, allocations: 20.89 MB / 12.19 GB, free: 42.03 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002512/47.84, allocations: 44 kB / 12.19 GB, free: 41.99 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794/49.64, allocations: 167.2 MB / 12.35 GB, free: 126.9 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008371/49.65, allocations: 1.28 MB / 12.35 GB, free: 126.9 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05567/49.7, allocations: 28.32 MB / 12.38 GB, free: 124.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0206/49.72, allocations: 0.7867 MB / 12.38 GB, free: 124.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004777/49.73, allocations: 0.6861 MB / 12.38 GB, free: 124.3 MB / 1.245 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 pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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: 207 * 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 (560): * Single equations (assignments): 548 * 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: 2 * 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: 2 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.00625/49.73, allocations: 283.3 kB / 12.38 GB, free: 124.2 MB / 1.245 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05683/49.79, allocations: 19.2 MB / 12.4 GB, free: 124 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007733/49.8, allocations: 1.136 MB / 12.4 GB, free: 124 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05051/49.85, allocations: 17.31 MB / 12.42 GB, free: 123.6 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001214/49.85, allocations: 50.62 kB / 12.42 GB, free: 123.6 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.462e-05/49.85, allocations: 2.969 kB / 12.42 GB, free: 123.6 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02745/49.88, allocations: 12.51 MB / 12.43 GB, free: 123.1 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 postOpt removeSimpleEquations (simulation): time 0.157/50.03, allocations: 45.4 MB / 12.48 GB, free: 117 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.234e-05/50.03, allocations: 3.938 kB / 12.48 GB, free: 117 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00415/50.04, allocations: 0.6952 MB / 12.48 GB, free: 117 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2131/50.25, allocations: 47.69 MB / 12.52 GB, free: 117 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001788/50.25, allocations: 68.62 kB / 12.53 GB, free: 117 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/50.27, allocations: 13.18 MB / 12.54 GB, free: 112.9 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/50.27, allocations: 1.312 kB / 12.54 GB, free: 112.9 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.152/50.42, allocations: 41.06 MB / 12.58 GB, free: 111.2 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01296/50.44, allocations: 2.541 MB / 12.58 GB, free: 110.4 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006609/50.44, allocations: 3.969 kB / 12.58 GB, free: 110.4 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0146/50.46, allocations: 0.6103 MB / 12.58 GB, free: 110.4 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001892/50.46, allocations: 308.3 kB / 12.58 GB, free: 110.4 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008583/50.46, allocations: 200.3 kB / 12.58 GB, free: 110.3 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.01832/50.48, allocations: 8.344 MB / 12.59 GB, free: 105.8 MB / 1.245 GB Notification: Performance of sort global known variables: time 3.31e-07/50.48, allocations: 0 / 12.59 GB, free: 105.8 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.04605/50.53, allocations: 5.717 MB / 12.6 GB, free: 100.6 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (324): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * 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: 2 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.1597/50.69, allocations: 45.64 MB / 12.64 GB, free: 73.91 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.06398/50.75, allocations: 28.67 MB / 12.67 GB, free: 59.5 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/50.75, allocations: 4 kB / 12.67 GB, free: 59.5 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.01532/50.76, allocations: 7.224 MB / 12.67 GB, free: 55.87 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03538/50.8, allocations: 6.105 MB / 12.68 GB, free: 52.45 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0597/50.86, allocations: 21.15 MB / 12.7 GB, free: 37.09 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008172/50.87, allocations: 6.788 MB / 12.71 GB, free: 32.55 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.02567/50.89, allocations: 5.743 MB / 12.71 GB, free: 28.84 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008562/50.9, allocations: 5.47 MB / 12.72 GB, free: 23.79 MB / 1.245 GB Notification: Performance of SimCode: time 1.143e-06/50.9, allocations: 4 kB / 12.72 GB, free: 23.79 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.596/53.5, allocations: 475.5 MB / 13.18 GB, free: 256 kB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/53.5, allocations: 172.6 kB / 13.18 GB, free: 52 kB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.11/77.6, allocations: 0 / 13.18 GB, free: 52 kB / 1.307 GB (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified5.fmu > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)