Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9951/0.9951, allocations: 143.3 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 179.7 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001052, allocations: 100.2 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 261.2 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0005002, allocations: 14.75 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2224, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.563/5.786, allocations: 1.908 GB / 2.682 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/5.786, allocations: 98.14 kB / 2.682 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.02/8.806, allocations: 0.8109 GB / 3.493 GB, free: 104.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.586e-06/8.806, allocations: 0 / 3.493 GB, free: 104.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003399/8.807, allocations: 37.72 kB / 3.493 GB, free: 104.7 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.00968/8.817, allocations: 2.32 MB / 3.495 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/8.817, allocations: 11.31 kB / 3.495 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009018/8.818, allocations: 148.7 kB / 3.496 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003999/8.822, allocations: 431.4 kB / 3.496 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005957/8.828, allocations: 1.813 MB / 3.498 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/8.828, allocations: 83.09 kB / 3.498 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004045/8.828, allocations: 110.4 kB / 3.498 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/8.831, allocations: 1.157 MB / 3.499 GB, free: 103 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/8.831, allocations: 6.891 kB / 3.499 GB, free: 103 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/8.831, allocations: 36.59 kB / 3.499 GB, free: 103 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/8.831, allocations: 43.27 kB / 3.499 GB, free: 103 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/8.833, allocations: 0.912 MB / 3.5 GB, free: 103 MB / 0.7136 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.00767/8.841, allocations: 4.936 MB / 3.505 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/8.843, allocations: 0.9417 MB / 3.506 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/8.843, allocations: 106.9 kB / 3.506 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008715/8.844, allocations: 491.3 kB / 3.506 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007811/8.845, allocations: 87.47 kB / 3.506 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=72): time 4.899e-06/8.845, allocations: 0 / 3.506 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72): time 0.003239/8.848, allocations: 1.289 MB / 3.508 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/8.848, allocations: 117.3 kB / 3.508 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/8.85, allocations: 1.009 MB / 3.509 GB, free: 99.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/8.85, allocations: 46.8 kB / 3.509 GB, free: 99.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00056/8.85, allocations: 0.6443 MB / 3.509 GB, free: 99.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/8.851, allocations: 254.3 kB / 3.51 GB, free: 99.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/8.851, allocations: 16.16 kB / 3.51 GB, free: 99.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.083e-05/8.851, allocations: 341 kB / 3.51 GB, free: 99.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000648/8.851, allocations: 336.4 kB / 3.51 GB, free: 99.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007901/8.852, allocations: 0.5934 MB / 3.511 GB, free: 98.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008073/8.853, allocations: 445.9 kB / 3.511 GB, free: 98.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/8.853, allocations: 3.531 kB / 3.511 GB, free: 98.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002186/8.855, allocations: 1.117 MB / 3.512 GB, free: 98.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005054/8.856, allocations: 2.072 MB / 3.514 GB, free: 96.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/8.856, allocations: 3.594 kB / 3.514 GB, free: 96.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/8.856, allocations: 81.05 kB / 3.515 GB, free: 96.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00091/8.857, allocations: 212.2 kB / 3.515 GB, free: 96.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006279/8.858, allocations: 1.204 MB / 3.516 GB, free: 95.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/8.859, allocations: 95.98 kB / 3.516 GB, free: 95.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/8.859, allocations: 49.67 kB / 3.516 GB, free: 95.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/8.859, allocations: 10.53 kB / 3.516 GB, free: 95.42 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001992/8.861, allocations: 1.014 MB / 3.517 GB, free: 95.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/8.861, allocations: 7.516 kB / 3.517 GB, free: 95.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/8.862, allocations: 107.8 kB / 3.517 GB, free: 95.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007686/8.863, allocations: 197.7 kB / 3.517 GB, free: 95.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003763/8.866, allocations: 2.735 MB / 3.52 GB, free: 93.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/8.868, allocations: 101.1 kB / 3.52 GB, free: 93.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.873e-05/8.868, allocations: 46.36 kB / 3.52 GB, free: 93.54 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001042/8.869, allocations: 466.6 kB / 3.521 GB, free: 93.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/8.869, allocations: 139.3 kB / 3.521 GB, free: 93.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/8.871, allocations: 0.9901 MB / 3.522 GB, free: 93.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/8.871, allocations: 7 kB / 3.522 GB, free: 93.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/8.871, allocations: 0 / 3.522 GB, free: 93.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/8.873, allocations: 0.8784 MB / 3.523 GB, free: 92.98 MB / 0.7136 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.004281/8.877, allocations: 2.325 MB / 3.525 GB, free: 92.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/8.877, allocations: 3.875 kB / 3.525 GB, free: 92.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/8.878, allocations: 162.2 kB / 3.525 GB, free: 92.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/8.878, allocations: 76.06 kB / 3.525 GB, free: 92.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/8.878, allocations: 27.94 kB / 3.525 GB, free: 92.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005194/8.879, allocations: 1.197 MB / 3.526 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/8.879, allocations: 3.938 kB / 3.526 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002939/8.882, allocations: 1.528 MB / 3.528 GB, free: 91.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/8.883, allocations: 289 kB / 3.528 GB, free: 90.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/8.883, allocations: 16.94 kB / 3.528 GB, free: 90.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009525/8.884, allocations: 98.05 kB / 3.528 GB, free: 90.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/8.884, allocations: 56.12 kB / 3.528 GB, free: 90.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.442e-05/8.884, allocations: 32.72 kB / 3.528 GB, free: 90.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001441/8.886, allocations: 0.782 MB / 3.529 GB, free: 90.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.11e-07/8.886, allocations: 0 / 3.529 GB, free: 90.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003744/8.89, allocations: 1.051 MB / 3.53 GB, free: 90.28 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.s[1],fan.filter.s[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006904/8.896, allocations: 4.951 MB / 3.535 GB, free: 87.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003138/8.9, allocations: 1.603 MB / 3.536 GB, free: 87.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/8.9, allocations: 2 kB / 3.536 GB, free: 87.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008082/8.9, allocations: 419.2 kB / 3.537 GB, free: 87.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/8.903, allocations: 0.6224 MB / 3.537 GB, free: 86.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006442/8.91, allocations: 7.422 MB / 3.545 GB, free: 81.15 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/8.911, allocations: 1.312 MB / 3.546 GB, free: 80.37 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001506/8.912, allocations: 337.2 kB / 3.546 GB, free: 80.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006738/8.913, allocations: 0.5498 MB / 3.547 GB, free: 79.88 MB / 0.7136 GB Notification: Performance of SimCode: time 1.253e-06/8.913, allocations: 0 / 3.547 GB, free: 79.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/9.024, allocations: 72.25 MB / 3.617 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/9.025, allocations: 259.1 kB / 3.618 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.759/13.78, allocations: 0 / 3.618 GB, free: 9.934 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Examples_ClosedLoop_y.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)