Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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) 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 Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 293 MB / 309 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001256, allocations: 176.6 kB / 378.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.4 MB / 0.6383 GB, free: 8.219 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009453/0.0009451, allocations: 90.75 kB / 0.7527 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004582, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3444, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.824/6.168, allocations: 2.117 GB / 3.108 GB, free: 95.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/6.169, allocations: 100.5 kB / 3.108 GB, free: 95.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.747/8.916, allocations: 0.8036 GB / 3.911 GB, free: 4.797 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.984e-06/8.916, allocations: 0 / 3.911 GB, free: 4.797 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000352/8.916, allocations: 39.98 kB / 3.911 GB, free: 4.758 MB / 0.948 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.009171/8.925, allocations: 2.354 MB / 3.914 GB, free: 2.34 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/8.925, allocations: 16.03 kB / 3.914 GB, free: 2.324 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003275/8.929, allocations: 414.5 kB / 3.914 GB, free: 1.918 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/8.934, allocations: 1.878 MB / 3.916 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/8.934, allocations: 78.38 kB / 3.916 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004792/8.935, allocations: 124.2 kB / 3.916 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/8.938, allocations: 1.203 MB / 3.917 GB, free: 14.54 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/8.938, allocations: 3.938 kB / 3.917 GB, free: 14.53 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/8.938, allocations: 44 kB / 3.917 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.897e-05/8.938, allocations: 38 kB / 3.917 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/8.941, allocations: 0.9095 MB / 3.918 GB, free: 13.54 MB / 0.9636 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.009358/8.95, allocations: 4.944 MB / 3.923 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/8.952, allocations: 0.9385 MB / 3.924 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000838/8.953, allocations: 398.8 kB / 3.924 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/8.953, allocations: 101.7 kB / 3.924 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009625/8.954, allocations: 492.4 kB / 3.925 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008618/8.955, allocations: 83.34 kB / 3.925 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=71): time 5.56e-06/8.955, allocations: 0 / 3.925 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of matching and sorting (n=71): time 0.003606/8.959, allocations: 1.31 MB / 3.926 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/8.959, allocations: 192.6 kB / 3.926 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/8.961, allocations: 1.173 MB / 3.928 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/8.961, allocations: 45.7 kB / 3.928 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000739/8.962, allocations: 0.6577 MB / 3.928 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/8.962, allocations: 240.4 kB / 3.929 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/8.962, allocations: 20 kB / 3.929 GB, free: 2.477 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001461/8.963, allocations: 341.9 kB / 3.929 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007679/8.963, allocations: 337.8 kB / 3.929 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009984/8.964, allocations: 0.6363 MB / 3.93 GB, free: 1.051 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/8.966, allocations: 0.914 MB / 3.931 GB, free: 64 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/8.966, allocations: 4 kB / 3.931 GB, free: 60 kB / 0.9636 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.5518/9.518, allocations: 1.146 MB / 3.932 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/9.518, allocations: 272.7 kB / 3.932 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/9.518, allocations: 7.078 kB / 3.932 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/9.519, allocations: 89.78 kB / 3.932 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008958/9.52, allocations: 204.1 kB / 3.932 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006345/9.52, allocations: 1.205 MB / 3.934 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/9.522, allocations: 104.4 kB / 3.934 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/9.522, allocations: 52.83 kB / 3.934 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/9.522, allocations: 3.938 kB / 3.934 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001904/9.524, allocations: 1.036 MB / 3.935 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/9.524, allocations: 7.5 kB / 3.935 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/9.524, allocations: 107.2 kB / 3.935 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006844/9.525, allocations: 191.4 kB / 3.935 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/9.528, allocations: 2.666 MB / 3.938 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/9.53, allocations: 100.3 kB / 3.938 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-05/9.53, allocations: 45.34 kB / 3.938 GB, free: 130.4 MB / 0.9636 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.001109/9.531, allocations: 479.5 kB / 3.938 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/9.531, allocations: 137.2 kB / 3.938 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/9.533, allocations: 0.9724 MB / 3.939 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/9.533, allocations: 8.219 kB / 3.939 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.738e-06/9.533, allocations: 0.625 kB / 3.939 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001477/9.535, allocations: 0.8687 MB / 3.94 GB, free: 130 MB / 0.9636 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.00385/9.539, allocations: 2.305 MB / 3.942 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/9.539, allocations: 3.406 kB / 3.942 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/9.539, allocations: 166.9 kB / 3.943 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/9.54, allocations: 76.73 kB / 3.943 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/9.54, allocations: 27.56 kB / 3.943 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004619/9.54, allocations: 1.195 MB / 3.944 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/9.54, allocations: 3.375 kB / 3.944 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/9.543, allocations: 1.45 MB / 3.945 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006718/9.544, allocations: 284.1 kB / 3.946 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/9.544, allocations: 18.12 kB / 3.946 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008654/9.545, allocations: 106.8 kB / 3.946 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/9.545, allocations: 59.06 kB / 3.946 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/9.545, allocations: 30.23 kB / 3.946 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001421/9.546, allocations: 0.7963 MB / 3.947 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.11e-07/9.546, allocations: 0.8125 kB / 3.947 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004701/9.551, allocations: 1.105 MB / 3.948 GB, free: 127.9 MB / 0.9636 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.005638/9.557, allocations: 2.789 MB / 3.95 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004265/9.561, allocations: 1.684 MB / 3.952 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/9.561, allocations: 5.031 kB / 3.952 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/9.562, allocations: 417 kB / 3.952 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/9.566, allocations: 0.6389 MB / 3.953 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004942/9.571, allocations: 3.161 MB / 3.956 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/9.572, allocations: 1.288 MB / 3.957 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001832/9.573, allocations: 340 kB / 3.958 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/9.574, allocations: 104.5 kB / 3.958 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of SimCode: time 7.52e-07/9.574, allocations: 0 / 3.958 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.08196/9.656, allocations: 54.69 MB / 4.011 GB, free: 123.3 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)