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.8739/0.8739, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001156/0.001156, allocations: 183.8 kB / 182.2 MB, free: 9.461 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.476/1.476, 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.0008982/0.000898, allocations: 88.14 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.001767/0.001767, allocations: 281.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.16e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4454, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.232/4.678, allocations: 1.908 GB / 2.665 GB, free: 150.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/4.678, allocations: 91.83 kB / 2.665 GB, free: 150 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.945/7.623, allocations: 0.8011 GB / 3.466 GB, free: 102.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/7.623, allocations: 0 / 3.466 GB, free: 102.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002435/7.623, allocations: 37.53 kB / 3.466 GB, free: 102.7 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.005236/7.628, allocations: 1.832 MB / 3.468 GB, free: 101.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/7.628, allocations: 11.78 kB / 3.468 GB, free: 101.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/7.631, allocations: 422.1 kB / 3.468 GB, free: 101.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004608/7.636, allocations: 1.797 MB / 3.47 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/7.636, allocations: 33.97 kB / 3.47 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003192/7.636, allocations: 65.75 kB / 3.47 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00167/7.638, allocations: 0.7974 MB / 3.471 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/7.64, allocations: 0.965 MB / 3.472 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/7.64, allocations: 0 / 3.472 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/7.64, allocations: 0 / 3.472 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/7.64, allocations: 44.03 kB / 3.472 GB, free: 101.2 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.006701/7.647, allocations: 4.749 MB / 3.477 GB, free: 99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/7.648, allocations: 0.8719 MB / 3.478 GB, free: 98.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/7.649, allocations: 368.4 kB / 3.478 GB, free: 98.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/7.649, allocations: 103.7 kB / 3.478 GB, free: 98.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000578/7.649, allocations: 415.9 kB / 3.478 GB, free: 98.7 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007068/7.65, allocations: 63.55 kB / 3.478 GB, free: 98.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 4.368e-06/7.65, allocations: 0 / 3.478 GB, free: 98.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.002316/7.652, allocations: 0.8556 MB / 3.479 GB, free: 98.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/7.652, allocations: 124.2 kB / 3.479 GB, free: 98.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/7.654, allocations: 0.8669 MB / 3.48 GB, free: 98.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/7.654, allocations: 28.92 kB / 3.48 GB, free: 98.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007213/7.655, allocations: 0.6507 MB / 3.481 GB, free: 98.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000299/7.655, allocations: 239.5 kB / 3.481 GB, free: 97.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/7.655, allocations: 2.094 kB / 3.481 GB, free: 97.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001302/7.655, allocations: 339 kB / 3.481 GB, free: 97.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/7.656, allocations: 298.3 kB / 3.482 GB, free: 97.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006624/7.657, allocations: 0.5555 MB / 3.482 GB, free: 96.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000869/7.658, allocations: 399.2 kB / 3.483 GB, free: 96.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/7.658, allocations: 3.344 kB / 3.483 GB, free: 96.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001843/7.659, allocations: 1.014 MB / 3.484 GB, free: 96.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005391/7.66, allocations: 2.066 MB / 3.486 GB, free: 94.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/7.66, allocations: 7.719 kB / 3.486 GB, free: 94.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003489/7.66, allocations: 95.17 kB / 3.486 GB, free: 94.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/7.661, allocations: 210 kB / 3.486 GB, free: 94.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/7.662, allocations: 1.283 MB / 3.487 GB, free: 93.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/7.663, allocations: 83.67 kB / 3.487 GB, free: 93.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/7.663, allocations: 49.05 kB / 3.487 GB, free: 93.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/7.663, allocations: 4.469 kB / 3.487 GB, free: 93.09 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001633/7.665, allocations: 0.8303 MB / 3.488 GB, free: 92.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/7.665, allocations: 3.75 kB / 3.488 GB, free: 92.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003918/7.666, allocations: 106.3 kB / 3.488 GB, free: 92.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/7.666, allocations: 199.4 kB / 3.488 GB, free: 92.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00366/7.67, allocations: 2.602 MB / 3.491 GB, free: 90.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/7.671, allocations: 75.05 kB / 3.491 GB, free: 90.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/7.671, allocations: 45.36 kB / 3.491 GB, free: 90.8 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.0003085/7.672, allocations: 133.8 kB / 3.491 GB, free: 90.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/7.672, allocations: 132.9 kB / 3.491 GB, free: 90.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/7.674, allocations: 0.8442 MB / 3.492 GB, free: 90.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/7.674, allocations: 12.81 kB / 3.492 GB, free: 90.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/7.674, allocations: 0 / 3.492 GB, free: 90.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/7.675, allocations: 0.7735 MB / 3.493 GB, free: 89.87 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.004493/7.68, allocations: 2.066 MB / 3.495 GB, free: 88.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/7.68, allocations: 3.516 kB / 3.495 GB, free: 88.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/7.681, allocations: 163.4 kB / 3.495 GB, free: 88.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001834/7.681, allocations: 63.92 kB / 3.495 GB, free: 88.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-05/7.681, allocations: 13.91 kB / 3.495 GB, free: 88.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005903/7.682, allocations: 1.194 MB / 3.496 GB, free: 87.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/7.682, allocations: 7.078 kB / 3.496 GB, free: 87.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/7.684, allocations: 1.353 MB / 3.498 GB, free: 86.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006646/7.684, allocations: 275.8 kB / 3.498 GB, free: 86.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/7.685, allocations: 11.61 kB / 3.498 GB, free: 86.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/7.686, allocations: 88.91 kB / 3.498 GB, free: 86.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/7.686, allocations: 55.66 kB / 3.498 GB, free: 86.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.911e-05/7.686, allocations: 29.62 kB / 3.498 GB, free: 86.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001075/7.687, allocations: 0.6665 MB / 3.499 GB, free: 86.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/7.687, allocations: 0 / 3.499 GB, free: 86.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003992/7.691, allocations: 0.9535 MB / 3.5 GB, free: 86.15 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.00524/7.696, allocations: 2.869 MB / 3.503 GB, free: 85.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002777/7.699, allocations: 1.458 MB / 3.504 GB, free: 84.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/7.699, allocations: 0 / 3.504 GB, free: 84.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006612/7.7, allocations: 365.4 kB / 3.504 GB, free: 84.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/7.703, allocations: 0.5628 MB / 3.505 GB, free: 84.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/7.707, allocations: 1.967 MB / 3.507 GB, free: 83.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/7.708, allocations: 1.312 MB / 3.508 GB, free: 82.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002296/7.71, allocations: 465.6 kB / 3.508 GB, free: 82.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/7.711, allocations: 86.84 kB / 3.509 GB, free: 82.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/7.711, allocations: 0 / 3.509 GB, free: 82.5 MB / 0.698 GB Notification: Performance of Templates: time 0.06155/7.772, allocations: 39.45 MB / 3.547 GB, free: 46.47 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)