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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y") translateModel(BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7847/0.7847, allocations: 140 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 176.8 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 426.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009904/0.0009904, allocations: 86.36 kB / 0.4945 GB, free: 8.336 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001875/0.001875, allocations: 273.6 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005057/0.0005061, allocations: 19.98 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4738, allocations: 79.29 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.094/5.568, allocations: 2.086 GB / 2.825 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/5.568, allocations: 99.94 kB / 2.826 GB, free: 198 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.759/8.328, allocations: 0.8037 GB / 3.629 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.585e-06/8.328, allocations: 0 / 3.629 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002987/8.328, allocations: 47.97 kB / 3.629 GB, free: 87.28 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.007401/8.335, allocations: 2.338 MB / 3.632 GB, free: 86.31 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/8.335, allocations: 11.34 kB / 3.632 GB, free: 86.31 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/8.339, allocations: 425.5 kB / 3.632 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005723/8.345, allocations: 1.878 MB / 3.634 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/8.345, allocations: 83.78 kB / 3.634 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004716/8.345, allocations: 116 kB / 3.634 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003342/8.349, allocations: 1.199 MB / 3.635 GB, free: 85.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.887e-05/8.349, allocations: 5.531 kB / 3.635 GB, free: 85.65 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/8.349, allocations: 37.53 kB / 3.635 GB, free: 85.65 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.783e-05/8.349, allocations: 35.41 kB / 3.635 GB, free: 85.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/8.351, allocations: 0.9115 MB / 3.636 GB, free: 85.64 MB / 0.6823 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.008295/8.36, allocations: 4.937 MB / 3.641 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/8.362, allocations: 0.9334 MB / 3.642 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007353/8.362, allocations: 408.1 kB / 3.642 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/8.363, allocations: 109.9 kB / 3.642 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000882/8.363, allocations: 484.6 kB / 3.643 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009402/8.364, allocations: 85.78 kB / 3.643 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=71): time 6.011e-06/8.364, allocations: 0 / 3.643 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71): time 0.003437/8.368, allocations: 1.3 MB / 3.644 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/8.368, allocations: 195.4 kB / 3.644 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/8.37, allocations: 1.182 MB / 3.645 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/8.371, allocations: 45.42 kB / 3.646 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006782/8.371, allocations: 0.6507 MB / 3.646 GB, free: 82.22 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/8.372, allocations: 250 kB / 3.646 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/8.372, allocations: 17.84 kB / 3.646 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.564e-05/8.372, allocations: 339.5 kB / 3.647 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007618/8.372, allocations: 341.9 kB / 3.647 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008659/8.373, allocations: 0.6348 MB / 3.648 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/8.375, allocations: 0.9165 MB / 3.649 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/8.375, allocations: 3.969 kB / 3.649 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002447/8.377, allocations: 1.154 MB / 3.65 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001955/8.377, allocations: 275.8 kB / 3.65 GB, free: 80.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/8.378, allocations: 7.5 kB / 3.65 GB, free: 80.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/8.378, allocations: 85.48 kB / 3.65 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000892/8.379, allocations: 207.8 kB / 3.65 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006493/8.38, allocations: 1.207 MB / 3.651 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/8.381, allocations: 100.2 kB / 3.652 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/8.381, allocations: 53.89 kB / 3.652 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/8.381, allocations: 7.656 kB / 3.652 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002225/8.384, allocations: 1.04 MB / 3.653 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/8.384, allocations: 7.531 kB / 3.653 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003783/8.384, allocations: 114.2 kB / 3.653 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/8.385, allocations: 179 kB / 3.653 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003437/8.388, allocations: 2.672 MB / 3.656 GB, free: 77.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/8.39, allocations: 102.3 kB / 3.656 GB, free: 77.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-05/8.39, allocations: 45.42 kB / 3.656 GB, free: 77.83 MB / 0.6823 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 (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0009491/8.391, allocations: 476.6 kB / 3.656 GB, free: 77.63 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/8.391, allocations: 133.3 kB / 3.656 GB, free: 77.56 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/8.393, allocations: 0.9689 MB / 3.657 GB, free: 77.47 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/8.393, allocations: 7.812 kB / 3.657 GB, free: 77.47 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/8.393, allocations: 0 / 3.657 GB, free: 77.47 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001478/8.394, allocations: 0.8784 MB / 3.658 GB, free: 77.27 MB / 0.6823 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.00402/8.398, allocations: 2.31 MB / 3.66 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/8.398, allocations: 0 / 3.66 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007464/8.399, allocations: 168.6 kB / 3.66 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/8.399, allocations: 78.09 kB / 3.661 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.409e-05/8.4, allocations: 21.59 kB / 3.661 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000494/8.4, allocations: 1.2 MB / 3.662 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/8.4, allocations: 0 / 3.662 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/8.403, allocations: 1.449 MB / 3.663 GB, free: 75.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008395/8.404, allocations: 292.6 kB / 3.663 GB, free: 75.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/8.404, allocations: 15.03 kB / 3.663 GB, free: 75.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008256/8.405, allocations: 106.7 kB / 3.664 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/8.405, allocations: 46.66 kB / 3.664 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.22e-05/8.405, allocations: 32.39 kB / 3.664 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001132/8.406, allocations: 0.7947 MB / 3.664 GB, free: 75.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/8.406, allocations: 0 / 3.664 GB, free: 75.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003487/8.41, allocations: 1.11 MB / 3.665 GB, free: 74.99 MB / 0.6823 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.x[1],fan.filter.x[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 (67): * Single equations (assignments): 63 * 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.004168/8.414, allocations: 2.807 MB / 3.668 GB, free: 74.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003633/8.417, allocations: 1.699 MB / 3.67 GB, free: 73.69 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/8.417, allocations: 6.562 kB / 3.67 GB, free: 73.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008553/8.418, allocations: 414.5 kB / 3.67 GB, free: 73.69 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/8.422, allocations: 0.6423 MB / 3.671 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/8.426, allocations: 3.164 MB / 3.674 GB, free: 72.29 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/8.427, allocations: 1.285 MB / 3.675 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001657/8.428, allocations: 330.4 kB / 3.676 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/8.429, allocations: 104.1 kB / 3.676 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of SimCode: time 9.72e-07/8.429, allocations: 1.625 kB / 3.676 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of Templates: time 0.07294/8.502, allocations: 54.74 MB / 3.729 GB, free: 49.8 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)