Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y") translateModel(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7558/0.7558, allocations: 133.6 MB / 141.6 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.0009616/0.0009612, allocations: 108 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.57e-05/1.573e-05, allocations: 7.984 kB / 0.5535 GB, free: 9.055 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4336, allocations: 82.3 MB / 0.6338 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.703/5.137, allocations: 1.91 GB / 2.544 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/5.137, allocations: 83.95 kB / 2.544 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.418/8.555, allocations: 0.8014 GB / 3.346 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.946e-06/8.555, allocations: 0 / 3.346 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004358/8.556, allocations: 47.53 kB / 3.346 GB, free: 90.52 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.007981/8.564, allocations: 1.817 MB / 3.347 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/8.564, allocations: 18.17 kB / 3.347 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003537/8.567, allocations: 430.5 kB / 3.348 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00601/8.573, allocations: 1.814 MB / 3.35 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/8.574, allocations: 32 kB / 3.35 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006387/8.574, allocations: 64 kB / 3.35 GB, free: 86.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002884/8.577, allocations: 0.7927 MB / 3.351 GB, free: 85.53 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/8.58, allocations: 0.973 MB / 3.351 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/8.58, allocations: 0 / 3.351 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/8.58, allocations: 0 / 3.351 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/8.581, allocations: 37.98 kB / 3.352 GB, free: 84.49 MB / 0.6823 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.008699/8.589, allocations: 4.749 MB / 3.356 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/8.591, allocations: 0.8851 MB / 3.357 GB, free: 78.62 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005286/8.591, allocations: 365.7 kB / 3.357 GB, free: 78.26 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/8.592, allocations: 104.7 kB / 3.357 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006097/8.592, allocations: 419.9 kB / 3.358 GB, free: 77.72 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007599/8.593, allocations: 62.36 kB / 3.358 GB, free: 77.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 4.739e-06/8.593, allocations: 4 kB / 3.358 GB, free: 77.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.002213/8.595, allocations: 0.8469 MB / 3.359 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/8.595, allocations: 119.2 kB / 3.359 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/8.597, allocations: 0.8735 MB / 3.36 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/8.597, allocations: 29.7 kB / 3.36 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005103/8.597, allocations: 0.6532 MB / 3.36 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/8.598, allocations: 240.4 kB / 3.361 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/8.598, allocations: 0 / 3.361 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/8.598, allocations: 345.9 kB / 3.361 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/8.598, allocations: 298.8 kB / 3.361 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004927/8.599, allocations: 0.5526 MB / 3.362 GB, free: 73.55 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/8.599, allocations: 399.5 kB / 3.362 GB, free: 73.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/8.599, allocations: 0 / 3.362 GB, free: 73.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00164/8.601, allocations: 1.003 MB / 3.363 GB, free: 72.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004777/8.601, allocations: 2.08 MB / 3.365 GB, free: 69.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/8.601, allocations: 4 kB / 3.365 GB, free: 69.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/8.602, allocations: 96.28 kB / 3.365 GB, free: 69.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009056/8.603, allocations: 217.4 kB / 3.365 GB, free: 69.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006938/8.603, allocations: 1.278 MB / 3.367 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/8.605, allocations: 88.55 kB / 3.367 GB, free: 68.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/8.605, allocations: 47.98 kB / 3.367 GB, free: 68.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/8.605, allocations: 4 kB / 3.367 GB, free: 68.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001605/8.607, allocations: 0.8232 MB / 3.368 GB, free: 67.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/8.607, allocations: 8 kB / 3.368 GB, free: 67.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003863/8.607, allocations: 109.3 kB / 3.368 GB, free: 67.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/8.608, allocations: 191.8 kB / 3.368 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003536/8.611, allocations: 2.598 MB / 3.37 GB, free: 64.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/8.613, allocations: 79.83 kB / 3.371 GB, free: 64.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/8.613, allocations: 43.98 kB / 3.371 GB, free: 64.17 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 () * 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.0003137/8.613, allocations: 136.7 kB / 3.371 GB, free: 64.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/8.613, allocations: 130.4 kB / 3.371 GB, free: 63.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/8.615, allocations: 0.8498 MB / 3.372 GB, free: 63.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/8.615, allocations: 8 kB / 3.372 GB, free: 63.03 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/8.615, allocations: 3.984 kB / 3.372 GB, free: 63.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/8.616, allocations: 0.7562 MB / 3.372 GB, free: 62.24 MB / 0.6823 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.003341/8.62, allocations: 2.086 MB / 3.374 GB, free: 60.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/8.62, allocations: 8.109 kB / 3.374 GB, free: 60.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/8.62, allocations: 163.8 kB / 3.375 GB, free: 59.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/8.621, allocations: 56.83 kB / 3.375 GB, free: 59.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/8.621, allocations: 11.98 kB / 3.375 GB, free: 59.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004893/8.621, allocations: 1.208 MB / 3.376 GB, free: 58.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/8.621, allocations: 0 / 3.376 GB, free: 58.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/8.623, allocations: 1.351 MB / 3.377 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/8.623, allocations: 275.4 kB / 3.377 GB, free: 56.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/8.624, allocations: 10.94 kB / 3.377 GB, free: 56.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008324/8.624, allocations: 95.69 kB / 3.378 GB, free: 56.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/8.624, allocations: 56.42 kB / 3.378 GB, free: 56.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/8.625, allocations: 27.98 kB / 3.378 GB, free: 56.74 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009535/8.626, allocations: 0.673 MB / 3.378 GB, free: 56.06 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/8.626, allocations: 0 / 3.378 GB, free: 56.06 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002881/8.628, allocations: 0.9546 MB / 3.379 GB, free: 55.11 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.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.003836/8.632, allocations: 2.847 MB / 3.382 GB, free: 52.44 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00248/8.635, allocations: 1.454 MB / 3.383 GB, free: 50.95 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/8.635, allocations: 3.938 kB / 3.383 GB, free: 50.95 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005676/8.635, allocations: 354 kB / 3.384 GB, free: 50.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/8.638, allocations: 0.5691 MB / 3.384 GB, free: 50.05 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/8.642, allocations: 1.982 MB / 3.386 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/8.642, allocations: 1.318 MB / 3.388 GB, free: 46.69 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001867/8.644, allocations: 461.2 kB / 3.388 GB, free: 46.26 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/8.644, allocations: 79.42 kB / 3.388 GB, free: 46.18 MB / 0.6823 GB Notification: Performance of SimCode: time 1.974e-06/8.644, allocations: 0 / 3.388 GB, free: 46.18 MB / 0.6823 GB Notification: Performance of Templates: time 0.05859/8.703, allocations: 39.44 MB / 3.427 GB, free: 7.133 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)