Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 173.2 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 0.7948 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008352/0.0008352, allocations: 96.33 kB / 0.9346 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.000388, allocations: 9.844 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2885, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.112/1.401, allocations: 464.3 MB / 1.676 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/1.401, allocations: 103.4 kB / 1.676 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 40.36/41.76, allocations: 10.74 GB / 12.41 GB, free: 111.2 MB / 1.417 GB Notification: Performance of FrontEnd: time 3.015e-06/41.76, allocations: 0 / 12.41 GB, free: 111.2 MB / 1.417 GB Notification: Performance of Transformations before backend: time 0.003341/41.77, allocations: 349 kB / 12.41 GB, free: 111.1 MB / 1.417 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.06737/41.84, allocations: 17.54 MB / 12.43 GB, free: 104.3 MB / 1.417 GB Notification: Performance of prepare preOptimizeDAE: time 7.124e-05/41.84, allocations: 7.031 kB / 12.43 GB, free: 104.3 MB / 1.417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006632/41.84, allocations: 0.792 MB / 12.43 GB, free: 104.2 MB / 1.417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01913/41.86, allocations: 2.443 MB / 12.43 GB, free: 103.4 MB / 1.417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05534/41.92, allocations: 18.73 MB / 12.45 GB, free: 100.1 MB / 1.417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007784/41.92, allocations: 0.526 MB / 12.45 GB, free: 99.88 MB / 1.417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003216/41.92, allocations: 0.7087 MB / 12.45 GB, free: 99.66 MB / 1.417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02204/41.94, allocations: 8.593 MB / 12.46 GB, free: 95.91 MB / 1.417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002083/41.94, allocations: 23.53 kB / 12.46 GB, free: 95.9 MB / 1.417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001357/41.94, allocations: 252.4 kB / 12.46 GB, free: 95.71 MB / 1.417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/41.94, allocations: 160.2 kB / 12.46 GB, free: 95.71 MB / 1.417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/41.96, allocations: 7.135 MB / 12.47 GB, free: 93.18 MB / 1.417 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.07903/42.04, allocations: 50.16 MB / 12.52 GB, free: 44.31 MB / 1.417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/42.05, allocations: 5.097 MB / 12.52 GB, free: 39.23 MB / 1.417 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.03944/42.09, allocations: 13.59 MB / 12.54 GB, free: 25.21 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005339/42.1, allocations: 3.464 MB / 12.54 GB, free: 21.71 MB / 1.417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01098/42.11, allocations: 2.439 MB / 12.54 GB, free: 19.27 MB / 1.417 GB Notification: Performance of pre-optimization done (n=327): time 1.553e-05/42.11, allocations: 0 / 12.54 GB, free: 19.27 MB / 1.417 GB Notification: Performance of matching and sorting (n=516): time 1.208/43.31, allocations: 47.18 MB / 12.59 GB, free: 138.3 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/43.32, allocations: 111.2 kB / 12.59 GB, free: 138.2 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03066/43.35, allocations: 12.35 MB / 12.6 GB, free: 137.6 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.00215/43.35, allocations: 177.5 kB / 12.6 GB, free: 137.5 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.007994/43.36, allocations: 6.224 MB / 12.61 GB, free: 136.5 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.002884/43.36, allocations: 1.739 MB / 12.61 GB, free: 135.6 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007322/43.36, allocations: 146 kB / 12.61 GB, free: 135.6 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.0004106/43.36, allocations: 0.5949 MB / 12.61 GB, free: 135.3 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01078/43.37, allocations: 4.69 MB / 12.61 GB, free: 135.3 MB / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01231/43.38, allocations: 7.597 MB / 12.62 GB, free: 132 MB / 1.432 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/43.4, allocations: 5.437 MB / 12.63 GB, free: 131.8 MB / 1.432 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/43.4, allocations: 17.3 kB / 12.63 GB, free: 131.8 MB / 1.432 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.03648/43.43, allocations: 15.45 MB / 12.64 GB, free: 130.8 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 0.007093/43.44, allocations: 38.6 MB / 12.68 GB, free: 90.93 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002064/43.44, allocations: 57.84 kB / 12.68 GB, free: 90.93 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007558/43.45, allocations: 3.508 MB / 12.68 GB, free: 90.84 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01154/43.46, allocations: 1.899 MB / 12.68 GB, free: 90.84 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/43.47, allocations: 12.36 MB / 12.7 GB, free: 84.11 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0168/43.49, allocations: 1.246 MB / 12.7 GB, free: 84.07 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001904/43.49, allocations: 494.5 kB / 12.7 GB, free: 84.07 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/43.49, allocations: 2.562 kB / 12.7 GB, free: 84.07 MB / 1.432 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02854/43.52, allocations: 14.45 MB / 12.71 GB, free: 83.71 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002098/43.52, allocations: 60.59 kB / 12.71 GB, free: 83.71 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007778/43.53, allocations: 3.792 MB / 12.72 GB, free: 83.62 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00956/43.54, allocations: 1.884 MB / 12.72 GB, free: 83.62 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02182/43.56, allocations: 17.35 MB / 12.73 GB, free: 77.89 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01566/43.57, allocations: 1.212 MB / 12.74 GB, free: 77.87 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001929/43.58, allocations: 454.1 kB / 12.74 GB, free: 77.87 MB / 1.432 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (738): * Single equations (assignments): 721 * 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: 6 * 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: 6 {1 2,1 4,1 2,1 2,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01031/43.59, allocations: 3.15 MB / 12.74 GB, free: 77.68 MB / 1.432 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004451/43.59, allocations: 1.211 MB / 12.74 GB, free: 77 MB / 1.432 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03385/43.62, allocations: 13.9 MB / 12.75 GB, free: 76.43 MB / 1.432 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.155e-05/43.62, allocations: 66.34 kB / 12.75 GB, free: 76.43 MB / 1.432 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/43.62, allocations: 0 / 12.75 GB, free: 76.43 MB / 1.432 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02471/43.65, allocations: 11.24 MB / 12.76 GB, free: 75.85 MB / 1.432 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.06131/43.71, allocations: 25.77 MB / 12.79 GB, free: 73.84 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.402e-05/43.71, allocations: 10.12 kB / 12.79 GB, free: 73.84 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006662/43.72, allocations: 1.195 MB / 12.79 GB, free: 73.84 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005092/43.72, allocations: 2.387 MB / 12.79 GB, free: 73.76 MB / 1.432 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001065/43.72, allocations: 170.9 kB / 12.79 GB, free: 73.76 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007852/43.73, allocations: 10.98 MB / 12.8 GB, free: 67.05 MB / 1.432 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/43.73, allocations: 9.438 kB / 12.8 GB, free: 67.05 MB / 1.432 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0378/43.77, allocations: 20.84 MB / 12.82 GB, free: 62.96 MB / 1.432 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0108/43.78, allocations: 2.583 MB / 12.83 GB, free: 62.18 MB / 1.432 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004978/43.78, allocations: 109 kB / 12.83 GB, free: 62.18 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0133/43.8, allocations: 1.015 MB / 12.83 GB, free: 62.16 MB / 1.432 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001462/43.8, allocations: 392.4 kB / 12.83 GB, free: 62.15 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001282/43.8, allocations: 255.8 kB / 12.83 GB, free: 62.15 MB / 1.432 GB Notification: Performance of sorting global known variables: time 0.02151/43.82, allocations: 9.419 MB / 12.84 GB, free: 61.8 MB / 1.432 GB Notification: Performance of sort global known variables: time 8.52e-07/43.82, allocations: 2.625 kB / 12.84 GB, free: 61.8 MB / 1.432 GB Notification: Performance of remove unused functions: time 0.03972/43.86, allocations: 6.046 MB / 12.84 GB, free: 61.8 MB / 1.432 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (439): * Single equations (assignments): 414 * 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: 6 * 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: 6 {5 77,1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.04981/43.91, allocations: 26.06 MB / 12.87 GB, free: 55.29 MB / 1.432 GB Notification: Performance of simCode: created initialization part: time 0.04254/43.95, allocations: 18.6 MB / 12.89 GB, free: 54.41 MB / 1.432 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/43.95, allocations: 7.75 kB / 12.89 GB, free: 54.41 MB / 1.432 GB Notification: Performance of simCode: created simulation system equations: time 0.01175/43.97, allocations: 5.262 MB / 12.89 GB, free: 54.19 MB / 1.432 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03051/44, allocations: 5.869 MB / 12.9 GB, free: 53.89 MB / 1.432 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09494/44.09, allocations: 81.5 MB / 12.98 GB, free: 23.37 MB / 1.464 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01203/44.1, allocations: 7.121 MB / 12.98 GB, free: 22.25 MB / 1.464 GB Notification: Performance of simCode: alias equations: time 0.02044/44.12, allocations: 3.892 MB / 12.99 GB, free: 21.64 MB / 1.464 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01231/44.14, allocations: 6.092 MB / 12.99 GB, free: 21.62 MB / 1.464 GB Notification: Performance of SimCode: time 1.493e-06/44.14, allocations: 3.875 kB / 12.99 GB, free: 21.62 MB / 1.464 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.526/46.66, allocations: 391.7 MB / 13.38 GB, free: 171.2 MB / 1.479 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/46.66, allocations: 259.9 kB / 13.38 GB, free: 170.8 MB / 1.479 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.92/69.58, allocations: 0 / 13.38 GB, free: 170.8 MB / 1.479 GB (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified6.fmu > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6_res.mat does not exist to compare? outputFormat=mat