Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.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.Movers.Validation.FlowControlled_dpSystem,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_dpSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_dpSystem",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.246/2.246, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001204/0.001204, allocations: 174.9 kB / 498.1 MB, free: 5.727 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.495/1.495, allocations: 223.1 MB / 0.7948 GB, free: 17.91 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.0009581/0.0009582, allocations: 103.9 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003644, allocations: 9.531 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 142.4 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.34/4.621, allocations: 1.95 GB / 3.173 GB, free: 35.07 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/4.622, allocations: 104.7 kB / 3.173 GB, free: 35.02 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 11.11/15.73, allocations: 3.171 GB / 6.345 GB, free: 50.76 MB / 1.26 GB Notification: Performance of FrontEnd: time 2.024e-06/15.73, allocations: 0 / 6.345 GB, free: 50.76 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.0005556/15.73, allocations: 124 kB / 6.345 GB, free: 50.64 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 711 * Number of variables: 711 Notification: Performance of Generate backend data structure: time 0.01884/15.75, allocations: 5.979 MB / 6.351 GB, free: 44.58 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/15.75, allocations: 12.56 kB / 6.351 GB, free: 44.57 MB / 1.26 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001581/15.75, allocations: 392.1 kB / 6.351 GB, free: 44.18 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/15.76, allocations: 1.637 MB / 6.353 GB, free: 42.54 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/15.77, allocations: 4.64 MB / 6.357 GB, free: 37.82 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/15.77, allocations: 229.6 kB / 6.357 GB, free: 37.59 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005748/15.77, allocations: 316 kB / 6.358 GB, free: 37.28 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005678/15.78, allocations: 3.391 MB / 6.361 GB, free: 33.76 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.785e-05/15.78, allocations: 15.83 kB / 6.361 GB, free: 33.74 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/15.78, allocations: 120 kB / 6.361 GB, free: 33.62 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.521e-05/15.78, allocations: 101.3 kB / 6.361 GB, free: 33.52 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004963/15.78, allocations: 2.823 MB / 6.364 GB, free: 30.69 MB / 1.26 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.0213/15.81, allocations: 15.18 MB / 6.379 GB, free: 14.62 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/15.81, allocations: 2.026 MB / 6.381 GB, free: 12.6 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003367/15.81, allocations: 236.9 kB / 6.381 GB, free: 12.34 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/15.81, allocations: 56.56 kB / 6.381 GB, free: 12.27 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002979/15.81, allocations: 0.5875 MB / 6.382 GB, free: 11.68 MB / 1.26 GB Notification: Performance of pre-optimization done (n=191): time 4.268e-06/15.81, allocations: 0 / 6.382 GB, free: 11.68 MB / 1.26 GB Notification: Performance of matching and sorting (n=199): time 0.01659/15.83, allocations: 7.335 MB / 6.389 GB, free: 4.195 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/15.83, allocations: 77.41 kB / 6.389 GB, free: 4.105 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005095/15.83, allocations: 3.345 MB / 6.392 GB, free: 0.7578 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.0004358/15.83, allocations: 81.7 kB / 6.392 GB, free: 0.6719 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.001607/15.84, allocations: 2.017 MB / 6.394 GB, free: 14.64 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008037/15.84, allocations: 0.6853 MB / 6.395 GB, free: 13.95 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/15.84, allocations: 44 kB / 6.395 GB, free: 13.91 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0001938/15.84, allocations: 394.5 kB / 6.395 GB, free: 13.52 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/15.84, allocations: 0.9374 MB / 6.396 GB, free: 12.57 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002799/15.84, allocations: 1.871 MB / 6.398 GB, free: 10.29 MB / 1.276 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone4.dynBal.medium.p = zone4.dynBal.p_start (sin.p = zone4.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone3.dynBal.medium.p = zone3.dynBal.p_start (sin.p = zone3.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone1.dynBal.medium.p = zone1.dynBal.p_start (sin.p = zone1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone2.dynBal.medium.p = zone2.dynBal.p_start (sin.p = zone2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02911/15.87, allocations: 7.954 MB / 6.406 GB, free: 2.289 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/15.87, allocations: 8 kB / 6.406 GB, free: 2.281 MB / 1.276 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.9005/16.77, allocations: 3.253 MB / 6.409 GB, free: 126.4 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.001433/16.77, allocations: 7.823 MB / 6.417 GB, free: 118.3 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.5e-05/16.77, allocations: 18.33 kB / 6.417 GB, free: 118.3 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009845/16.77, allocations: 294.7 kB / 6.417 GB, free: 118.3 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/16.78, allocations: 0.5243 MB / 6.417 GB, free: 118.3 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/16.78, allocations: 4.711 MB / 6.422 GB, free: 114.2 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006636/16.79, allocations: 384.5 kB / 6.422 GB, free: 114.2 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007401/16.79, allocations: 130.4 kB / 6.422 GB, free: 114.2 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/16.79, allocations: 5.594 kB / 6.422 GB, free: 114.2 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007068/16.8, allocations: 2.792 MB / 6.425 GB, free: 114.1 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.203e-05/16.8, allocations: 17.25 kB / 6.425 GB, free: 114.1 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/16.8, allocations: 302.7 kB / 6.426 GB, free: 114.1 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/16.8, allocations: 0.5134 MB / 6.426 GB, free: 114.1 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007606/16.81, allocations: 8.105 MB / 6.434 GB, free: 107.4 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006439/16.81, allocations: 382.5 kB / 6.434 GB, free: 107.4 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007322/16.81, allocations: 120.3 kB / 6.434 GB, free: 107.4 MB / 1.276 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: zone4.dynBal.medium.p = zone4.dynBal.p_start zone3.dynBal.medium.p = zone3.dynBal.p_start zone1.dynBal.medium.p = zone1.dynBal.p_start zone2.dynBal.medium.p = zone2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 259 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.003476/16.82, allocations: 0.9622 MB / 6.435 GB, free: 107.2 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001768/16.82, allocations: 426.6 kB / 6.436 GB, free: 107.2 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007853/16.83, allocations: 2.923 MB / 6.439 GB, free: 107.1 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/16.83, allocations: 20.44 kB / 6.439 GB, free: 107.1 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/16.83, allocations: 1.125 kB / 6.439 GB, free: 107.1 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005445/16.83, allocations: 2.431 MB / 6.441 GB, free: 106.7 MB / 1.276 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.01665/16.85, allocations: 6.821 MB / 6.448 GB, free: 105.9 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/16.85, allocations: 12 kB / 6.448 GB, free: 105.9 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/16.85, allocations: 446.6 kB / 6.448 GB, free: 105.9 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007137/16.85, allocations: 269.3 kB / 6.448 GB, free: 105.9 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/16.85, allocations: 61.28 kB / 6.448 GB, free: 105.9 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002882/16.86, allocations: 4.618 MB / 6.453 GB, free: 101.8 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/16.86, allocations: 13.47 kB / 6.453 GB, free: 101.8 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008654/16.86, allocations: 5.518 MB / 6.458 GB, free: 99.67 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003057/16.87, allocations: 0.754 MB / 6.459 GB, free: 99.37 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/16.87, allocations: 52.92 kB / 6.459 GB, free: 99.37 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004511/16.87, allocations: 295.3 kB / 6.459 GB, free: 99.36 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003426/16.87, allocations: 165.5 kB / 6.46 GB, free: 99.34 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/16.87, allocations: 96.69 kB / 6.46 GB, free: 99.34 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.00476/16.88, allocations: 2.605 MB / 6.462 GB, free: 99.16 MB / 1.276 GB Notification: Performance of sort global known variables: time 6.91e-07/16.88, allocations: 0 / 6.462 GB, free: 99.16 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01109/16.89, allocations: 2.571 MB / 6.465 GB, free: 99.16 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 8 (zone2.dynBal.medium.Xi[1],zone2.dynBal.U,zone1.dynBal.medium.Xi[1],zone1.dynBal.U,zone3.dynBal.medium.Xi[1],zone3.dynBal.U,zone4.dynBal.medium.Xi[1],zone4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01978/16.91, allocations: 15.7 MB / 6.48 GB, free: 90.76 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.009475/16.92, allocations: 4.697 MB / 6.485 GB, free: 89.92 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/16.92, allocations: 3.969 kB / 6.485 GB, free: 89.92 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.00278/16.92, allocations: 1.444 MB / 6.486 GB, free: 89.69 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01138/16.93, allocations: 2.251 MB / 6.488 GB, free: 89.64 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02521/16.96, allocations: 25.94 MB / 6.514 GB, free: 68.89 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002487/16.96, allocations: 2.619 MB / 6.516 GB, free: 68.1 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.006364/16.97, allocations: 1.129 MB / 6.517 GB, free: 68.06 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003184/16.97, allocations: 1.843 MB / 6.519 GB, free: 68.05 MB / 1.276 GB Notification: Performance of SimCode: time 9.087e-06/16.97, allocations: 0 / 6.519 GB, free: 68.05 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2668/17.24, allocations: 198.6 MB / 6.713 GB, free: 59.94 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/17.24, allocations: 265.2 kB / 6.713 GB, free: 59.59 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.908/26.15, allocations: 4 kB / 6.713 GB, free: 59.58 MB / 1.276 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_dpSystem_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_dpSystem.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem_res.mat does not exist to compare? outputFormat=mat