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: 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.8913/0.8913, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.0009698/0.0009698, allocations: 184.8 kB / 182.2 MB, free: 9.445 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.351/1.351, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0009477/0.0009477, allocations: 87.8 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001906/0.001907, allocations: 286.6 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.16e-05/2.161e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3983, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.138/4.536, allocations: 1.908 GB / 2.665 GB, free: 149.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/4.536, allocations: 91.83 kB / 2.665 GB, free: 149.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.914/7.45, allocations: 0.8011 GB / 3.466 GB, free: 102.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/7.45, allocations: 3.781 kB / 3.466 GB, free: 102.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003608/7.45, allocations: 40.61 kB / 3.466 GB, free: 102.8 MB / 0.698 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.00688/7.457, allocations: 1.823 MB / 3.468 GB, free: 101.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/7.457, allocations: 17.09 kB / 3.468 GB, free: 101.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003647/7.461, allocations: 428.7 kB / 3.468 GB, free: 101.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005833/7.467, allocations: 1.799 MB / 3.47 GB, free: 101.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-05/7.467, allocations: 31.66 kB / 3.47 GB, free: 101.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005133/7.468, allocations: 63.59 kB / 3.47 GB, free: 101.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002245/7.47, allocations: 0.8024 MB / 3.471 GB, free: 101.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/7.472, allocations: 0.965 MB / 3.472 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/7.472, allocations: 0 / 3.472 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/7.472, allocations: 0 / 3.472 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/7.472, allocations: 42.75 kB / 3.472 GB, free: 101.3 MB / 0.698 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.008239/7.481, allocations: 4.751 MB / 3.477 GB, free: 99.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/7.482, allocations: 0.8661 MB / 3.477 GB, free: 98.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/7.483, allocations: 373.2 kB / 3.478 GB, free: 98.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/7.483, allocations: 105.9 kB / 3.478 GB, free: 98.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006801/7.484, allocations: 415.1 kB / 3.478 GB, free: 98.82 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000802/7.484, allocations: 69.22 kB / 3.478 GB, free: 98.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 4.158e-06/7.484, allocations: 0 / 3.478 GB, free: 98.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.002219/7.487, allocations: 0.8572 MB / 3.479 GB, free: 98.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/7.487, allocations: 114.8 kB / 3.479 GB, free: 98.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/7.489, allocations: 0.8727 MB / 3.48 GB, free: 98.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/7.489, allocations: 29.64 kB / 3.48 GB, free: 98.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006668/7.489, allocations: 0.6477 MB / 3.481 GB, free: 97.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/7.49, allocations: 238.3 kB / 3.481 GB, free: 97.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/7.49, allocations: 3.938 kB / 3.481 GB, free: 97.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.736e-05/7.49, allocations: 343 kB / 3.481 GB, free: 97.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/7.49, allocations: 295.2 kB / 3.482 GB, free: 97.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/7.491, allocations: 0.5559 MB / 3.482 GB, free: 96.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008746/7.492, allocations: 399.4 kB / 3.483 GB, free: 96.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/7.492, allocations: 3.125 kB / 3.483 GB, free: 96.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001942/7.494, allocations: 1.017 MB / 3.484 GB, free: 96.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005024/7.494, allocations: 2.061 MB / 3.486 GB, free: 94.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/7.494, allocations: 7.875 kB / 3.486 GB, free: 94.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/7.495, allocations: 99.73 kB / 3.486 GB, free: 94.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/7.496, allocations: 212.2 kB / 3.486 GB, free: 94.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007714/7.496, allocations: 1.277 MB / 3.487 GB, free: 93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/7.498, allocations: 87.28 kB / 3.487 GB, free: 92.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/7.498, allocations: 48.33 kB / 3.487 GB, free: 92.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/7.498, allocations: 5.281 kB / 3.487 GB, free: 92.98 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001739/7.5, allocations: 0.8259 MB / 3.488 GB, free: 92.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/7.5, allocations: 7.719 kB / 3.488 GB, free: 92.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/7.5, allocations: 100.6 kB / 3.488 GB, free: 92.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/7.501, allocations: 193.3 kB / 3.488 GB, free: 92.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/7.505, allocations: 2.597 MB / 3.491 GB, free: 90.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/7.507, allocations: 87.56 kB / 3.491 GB, free: 90.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/7.507, allocations: 45.41 kB / 3.491 GB, free: 90.71 MB / 0.698 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 () * 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.0003948/7.507, allocations: 128.5 kB / 3.491 GB, free: 90.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004938/7.508, allocations: 130.6 kB / 3.491 GB, free: 90.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/7.51, allocations: 0.8571 MB / 3.492 GB, free: 90.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/7.51, allocations: 7.188 kB / 3.492 GB, free: 90.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/7.51, allocations: 0 / 3.492 GB, free: 90.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001229/7.511, allocations: 0.766 MB / 3.493 GB, free: 89.78 MB / 0.698 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.004342/7.516, allocations: 2.076 MB / 3.495 GB, free: 88.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/7.516, allocations: 5.344 kB / 3.495 GB, free: 88.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007972/7.517, allocations: 161.6 kB / 3.495 GB, free: 88.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/7.517, allocations: 61.05 kB / 3.495 GB, free: 88.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/7.517, allocations: 14.09 kB / 3.495 GB, free: 88.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005248/7.517, allocations: 1.193 MB / 3.496 GB, free: 87.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/7.517, allocations: 2.125 kB / 3.496 GB, free: 87.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/7.519, allocations: 1.362 MB / 3.498 GB, free: 86.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006832/7.52, allocations: 273.6 kB / 3.498 GB, free: 86.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/7.52, allocations: 12.27 kB / 3.498 GB, free: 86.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/7.521, allocations: 94.45 kB / 3.498 GB, free: 86.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/7.522, allocations: 55.64 kB / 3.498 GB, free: 86.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/7.522, allocations: 25.14 kB / 3.498 GB, free: 86.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00106/7.523, allocations: 0.6662 MB / 3.499 GB, free: 86.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.523, allocations: 0 / 3.499 GB, free: 86.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003634/7.526, allocations: 0.9482 MB / 3.5 GB, free: 86.06 MB / 0.698 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) * 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.004767/7.531, allocations: 2.874 MB / 3.503 GB, free: 85.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002706/7.534, allocations: 1.459 MB / 3.504 GB, free: 84.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/7.534, allocations: 0 / 3.504 GB, free: 84.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006511/7.535, allocations: 360 kB / 3.504 GB, free: 84.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/7.538, allocations: 0.5672 MB / 3.505 GB, free: 84.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/7.542, allocations: 1.979 MB / 3.507 GB, free: 83.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/7.543, allocations: 1.309 MB / 3.508 GB, free: 82.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002271/7.545, allocations: 463.6 kB / 3.508 GB, free: 82.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/7.546, allocations: 83.28 kB / 3.509 GB, free: 82.04 MB / 0.698 GB Notification: Performance of SimCode: time 1.243e-06/7.546, allocations: 0 / 3.509 GB, free: 82.04 MB / 0.698 GB Notification: Performance of Templates: time 0.06075/7.606, allocations: 39.45 MB / 3.547 GB, free: 45.92 MB / 0.698 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)