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.005848/0.005848, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7857/0.7857, allocations: 135.2 MB / 151.1 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 223.2 MB / 406.9 MB, free: 3.207 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.0009821/0.0009822, allocations: 98.64 kB / 490 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003933, allocations: 8 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5364, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.845/5.381, allocations: 1.911 GB / 2.56 GB, free: 61.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/5.382, allocations: 95.95 kB / 2.561 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.5/7.881, allocations: 0.8112 GB / 3.372 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.805e-06/7.881, allocations: 0 / 3.372 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001547/7.882, allocations: 50.28 kB / 3.372 GB, free: 8.684 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.005837/7.887, allocations: 2.306 MB / 3.374 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/7.887, allocations: 12.03 kB / 3.374 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00278/7.89, allocations: 425.5 kB / 3.374 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/7.894, allocations: 1.838 MB / 3.376 GB, free: 4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.969e-05/7.894, allocations: 78 kB / 3.376 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/7.895, allocations: 107.9 kB / 3.376 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/7.896, allocations: 1.163 MB / 3.378 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/7.896, allocations: 0 / 3.378 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/7.897, allocations: 47.98 kB / 3.378 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/7.897, allocations: 34.34 kB / 3.378 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/7.898, allocations: 0.9173 MB / 3.379 GB, free: 1.621 MB / 0.6823 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.007084/7.905, allocations: 4.946 MB / 3.383 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/7.907, allocations: 0.938 MB / 3.384 GB, free: 11.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/7.908, allocations: 114.7 kB / 3.384 GB, free: 11.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008964/7.908, allocations: 476.2 kB / 3.385 GB, free: 10.77 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006671/7.909, allocations: 87.34 kB / 3.385 GB, free: 10.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 4.068e-06/7.909, allocations: 0 / 3.385 GB, free: 10.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.003246/7.912, allocations: 1.291 MB / 3.386 GB, free: 9.359 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/7.912, allocations: 123.4 kB / 3.386 GB, free: 9.215 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/7.914, allocations: 1.013 MB / 3.387 GB, free: 8.191 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/7.914, allocations: 45.7 kB / 3.387 GB, free: 8.141 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006361/7.915, allocations: 0.6498 MB / 3.388 GB, free: 7.484 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/7.915, allocations: 248.4 kB / 3.388 GB, free: 7.238 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/7.915, allocations: 16 kB / 3.388 GB, free: 7.223 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001232/7.915, allocations: 337.9 kB / 3.389 GB, free: 6.887 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007086/7.916, allocations: 333.8 kB / 3.389 GB, free: 6.562 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008812/7.917, allocations: 0.6033 MB / 3.389 GB, free: 5.848 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/7.918, allocations: 438.8 kB / 3.39 GB, free: 5.414 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/7.918, allocations: 4 kB / 3.39 GB, free: 5.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002232/7.92, allocations: 1.121 MB / 3.391 GB, free: 4.273 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008798/7.921, allocations: 2.078 MB / 3.393 GB, free: 2.066 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/7.921, allocations: 7.984 kB / 3.393 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003451/7.921, allocations: 72.81 kB / 3.393 GB, free: 1.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009753/7.922, allocations: 211.7 kB / 3.393 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008173/7.923, allocations: 1.205 MB / 3.394 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/7.925, allocations: 99.98 kB / 3.395 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/7.925, allocations: 47.98 kB / 3.395 GB, free: 388 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/7.925, allocations: 7.984 kB / 3.395 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4041/8.329, allocations: 1.001 MB / 3.396 GB, free: 99.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/8.329, allocations: 12.45 kB / 3.396 GB, free: 99.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005355/8.329, allocations: 114.6 kB / 3.396 GB, free: 99.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009571/8.33, allocations: 194.5 kB / 3.396 GB, free: 99.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004429/8.335, allocations: 2.718 MB / 3.399 GB, free: 97.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/8.336, allocations: 99.22 kB / 3.399 GB, free: 97.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/8.337, allocations: 43.72 kB / 3.399 GB, free: 97.39 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 () * Number of clocked 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.001081/8.338, allocations: 464.7 kB / 3.399 GB, free: 97.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/8.338, allocations: 140 kB / 3.399 GB, free: 97.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/8.34, allocations: 0.9925 MB / 3.4 GB, free: 97.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/8.34, allocations: 7.281 kB / 3.4 GB, free: 97.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/8.341, allocations: 7.328 kB / 3.4 GB, free: 97.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001752/8.342, allocations: 0.8823 MB / 3.401 GB, free: 96.96 MB / 0.698 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.004734/8.347, allocations: 2.319 MB / 3.403 GB, free: 96.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/8.347, allocations: 3.938 kB / 3.403 GB, free: 96.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/8.348, allocations: 166.1 kB / 3.404 GB, free: 96.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002914/8.348, allocations: 87.86 kB / 3.404 GB, free: 96.53 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-05/8.348, allocations: 23.06 kB / 3.404 GB, free: 96.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005412/8.349, allocations: 1.192 MB / 3.405 GB, free: 95.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/8.349, allocations: 3.406 kB / 3.405 GB, free: 95.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/8.352, allocations: 1.527 MB / 3.406 GB, free: 95.13 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006456/8.352, allocations: 288.4 kB / 3.407 GB, free: 94.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/8.352, allocations: 22.2 kB / 3.407 GB, free: 94.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008583/8.353, allocations: 93.77 kB / 3.407 GB, free: 94.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/8.353, allocations: 54.23 kB / 3.407 GB, free: 94.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.222e-05/8.353, allocations: 31.78 kB / 3.407 GB, free: 94.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001279/8.355, allocations: 0.7899 MB / 3.408 GB, free: 94.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.092e-06/8.355, allocations: 0 / 3.408 GB, free: 94.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003322/8.358, allocations: 1.057 MB / 3.409 GB, free: 94.82 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) * Number of clocked states: 0 () * 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.004071/8.362, allocations: 2.705 MB / 3.411 GB, free: 94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003288/8.365, allocations: 1.601 MB / 3.413 GB, free: 93.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/8.366, allocations: 1.75 kB / 3.413 GB, free: 93.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009096/8.366, allocations: 421 kB / 3.413 GB, free: 93.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/8.369, allocations: 0.6341 MB / 3.414 GB, free: 93.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/8.374, allocations: 3.132 MB / 3.417 GB, free: 92.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/8.375, allocations: 1.317 MB / 3.418 GB, free: 91.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001489/8.376, allocations: 326.2 kB / 3.418 GB, free: 91.65 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/8.377, allocations: 107.3 kB / 3.419 GB, free: 91.64 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/8.377, allocations: 0 / 3.419 GB, free: 91.64 MB / 0.698 GB Notification: Performance of Templates: time 0.07291/8.45, allocations: 52.78 MB / 3.47 GB, free: 89.89 MB / 0.698 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)