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.8112/0.8112, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 182.6 kB / 187.3 MB, free: 11.88 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.333/1.333, allocations: 221.3 MB / 441.4 MB, free: 4.656 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.0009893/0.0009892, allocations: 100.9 kB / 0.5124 GB, free: 24.07 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 274.3 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.627e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4145, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.223/4.637, allocations: 1.908 GB / 2.673 GB, free: 137.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/4.638, allocations: 87.89 kB / 2.673 GB, free: 137.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.929/7.567, allocations: 0.8101 GB / 3.483 GB, free: 98.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.452e-06/7.567, allocations: 0 / 3.483 GB, free: 98.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000153/7.567, allocations: 47.72 kB / 3.483 GB, free: 98.57 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.003701/7.571, allocations: 1.82 MB / 3.485 GB, free: 97.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6e-05/7.571, allocations: 13.59 kB / 3.485 GB, free: 97.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/7.574, allocations: 419.7 kB / 3.485 GB, free: 97.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003773/7.578, allocations: 1.808 MB / 3.487 GB, free: 95.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/7.578, allocations: 77.28 kB / 3.487 GB, free: 95.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/7.578, allocations: 107.4 kB / 3.487 GB, free: 95.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/7.579, allocations: 1.107 MB / 3.488 GB, free: 94.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/7.58, allocations: 0 / 3.488 GB, free: 94.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-05/7.58, allocations: 38.97 kB / 3.488 GB, free: 94.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/7.58, allocations: 34 kB / 3.488 GB, free: 94.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/7.581, allocations: 0.8264 MB / 3.489 GB, free: 93.83 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.005839/7.587, allocations: 4.936 MB / 3.494 GB, free: 88.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/7.588, allocations: 0.8447 MB / 3.495 GB, free: 87.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/7.589, allocations: 364.8 kB / 3.495 GB, free: 87.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/7.589, allocations: 105.8 kB / 3.495 GB, free: 87.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006161/7.59, allocations: 434.1 kB / 3.495 GB, free: 86.89 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007381/7.59, allocations: 90 kB / 3.495 GB, free: 86.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 4.028e-06/7.59, allocations: 0 / 3.495 GB, free: 86.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.001573/7.592, allocations: 0.7923 MB / 3.496 GB, free: 86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/7.592, allocations: 111.6 kB / 3.496 GB, free: 85.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/7.593, allocations: 0.9908 MB / 3.497 GB, free: 84.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.082e-05/7.593, allocations: 49.64 kB / 3.497 GB, free: 84.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005499/7.594, allocations: 0.6524 MB / 3.498 GB, free: 84.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/7.594, allocations: 249 kB / 3.498 GB, free: 83.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/7.594, allocations: 16 kB / 3.498 GB, free: 83.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001007/7.594, allocations: 341.9 kB / 3.499 GB, free: 83.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/7.595, allocations: 285.9 kB / 3.499 GB, free: 83.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006823/7.595, allocations: 0.5553 MB / 3.499 GB, free: 82.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/7.596, allocations: 391.9 kB / 3.5 GB, free: 82.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.944e-06/7.596, allocations: 11.88 kB / 3.5 GB, free: 82.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001609/7.598, allocations: 1.018 MB / 3.501 GB, free: 81.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005422/7.598, allocations: 2.068 MB / 3.503 GB, free: 79.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/7.598, allocations: 11.52 kB / 3.503 GB, free: 79.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004133/7.599, allocations: 78.59 kB / 3.503 GB, free: 78.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009484/7.6, allocations: 207.4 kB / 3.503 GB, free: 78.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006911/7.6, allocations: 1.203 MB / 3.504 GB, free: 77.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/7.602, allocations: 102.7 kB / 3.504 GB, free: 77.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/7.602, allocations: 47.98 kB / 3.504 GB, free: 77.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/7.602, allocations: 11.41 kB / 3.504 GB, free: 77.34 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00179/7.604, allocations: 0.9214 MB / 3.505 GB, free: 76.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/7.604, allocations: 7.984 kB / 3.505 GB, free: 76.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004293/7.604, allocations: 108 kB / 3.505 GB, free: 76.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007458/7.605, allocations: 199 kB / 3.506 GB, free: 76.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003858/7.609, allocations: 2.678 MB / 3.508 GB, free: 73.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/7.61, allocations: 99.05 kB / 3.508 GB, free: 73.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/7.61, allocations: 47.98 kB / 3.508 GB, free: 73.12 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.0003376/7.611, allocations: 156.8 kB / 3.509 GB, free: 72.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/7.611, allocations: 137.5 kB / 3.509 GB, free: 72.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/7.613, allocations: 0.899 MB / 3.51 GB, free: 71.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/7.613, allocations: 5.75 kB / 3.51 GB, free: 71.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/7.613, allocations: 4 kB / 3.51 GB, free: 71.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001159/7.614, allocations: 0.7913 MB / 3.51 GB, free: 71.09 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.004327/7.619, allocations: 2.241 MB / 3.512 GB, free: 68.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/7.619, allocations: 4 kB / 3.512 GB, free: 68.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008201/7.619, allocations: 166.4 kB / 3.513 GB, free: 68.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002581/7.62, allocations: 76.09 kB / 3.513 GB, free: 68.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.536e-05/7.62, allocations: 23.98 kB / 3.513 GB, free: 68.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004816/7.62, allocations: 1.192 MB / 3.514 GB, free: 67.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/7.62, allocations: 5.422 kB / 3.514 GB, free: 67.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/7.622, allocations: 1.389 MB / 3.515 GB, free: 65.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008149/7.623, allocations: 283.4 kB / 3.516 GB, free: 65.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/7.623, allocations: 20.19 kB / 3.516 GB, free: 65.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/7.625, allocations: 102.2 kB / 3.516 GB, free: 65.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/7.625, allocations: 56.42 kB / 3.516 GB, free: 65.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/7.625, allocations: 38.02 kB / 3.516 GB, free: 65.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001822/7.627, allocations: 0.7815 MB / 3.517 GB, free: 64.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/7.627, allocations: 0 / 3.517 GB, free: 64.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005398/7.632, allocations: 1.052 MB / 3.518 GB, free: 63.5 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.005292/7.638, allocations: 2.717 MB / 3.52 GB, free: 60.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002792/7.641, allocations: 1.498 MB / 3.522 GB, free: 59.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/7.641, allocations: 4.188 kB / 3.522 GB, free: 59.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006414/7.641, allocations: 374.7 kB / 3.522 GB, free: 59.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/7.644, allocations: 0.6233 MB / 3.523 GB, free: 58.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/7.648, allocations: 2.024 MB / 3.525 GB, free: 56.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009971/7.649, allocations: 1.314 MB / 3.526 GB, free: 55.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002212/7.652, allocations: 484.9 kB / 3.526 GB, free: 54.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/7.652, allocations: 86.92 kB / 3.526 GB, free: 54.53 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/7.652, allocations: 0 / 3.526 GB, free: 54.53 MB / 0.698 GB Notification: Performance of Templates: time 0.07945/7.731, allocations: 61.06 MB / 3.586 GB, free: 9.977 MB / 0.7136 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)