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.001997/0.001997, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8117/0.8117, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.518/1.518, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009/0.0008998, allocations: 91.39 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.005e-05, allocations: 2.938 kB / 0.56 GB, free: 87.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1456, allocations: 82.31 MB / 0.6404 GB, free: 7.824 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.516/4.661, allocations: 1.911 GB / 2.551 GB, free: 25.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/4.662, allocations: 87.95 kB / 2.551 GB, free: 25.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.212/7.874, allocations: 0.8105 GB / 3.362 GB, free: 2.121 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.445e-06/7.874, allocations: 0 / 3.362 GB, free: 2.121 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000173/7.874, allocations: 39.98 kB / 3.362 GB, free: 2.082 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.004798/7.879, allocations: 1.833 MB / 3.364 GB, free: 192 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/7.879, allocations: 12.03 kB / 3.364 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6196/8.499, allocations: 413.8 kB / 3.364 GB, free: 94.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005731/8.505, allocations: 1.817 MB / 3.366 GB, free: 93.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/8.505, allocations: 82.88 kB / 3.366 GB, free: 93.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/8.505, allocations: 110.3 kB / 3.366 GB, free: 93.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/8.507, allocations: 1.097 MB / 3.367 GB, free: 93.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/8.508, allocations: 2.969 kB / 3.367 GB, free: 93.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/8.508, allocations: 42.56 kB / 3.367 GB, free: 93.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-05/8.508, allocations: 35.64 kB / 3.367 GB, free: 93.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/8.51, allocations: 0.8148 MB / 3.368 GB, free: 93.84 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.008904/8.519, allocations: 4.941 MB / 3.373 GB, free: 91.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/8.52, allocations: 0.8369 MB / 3.374 GB, free: 91.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/8.521, allocations: 368.8 kB / 3.374 GB, free: 91.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/8.521, allocations: 107.1 kB / 3.374 GB, free: 91.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008536/8.522, allocations: 443.3 kB / 3.375 GB, free: 91.37 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008752/8.523, allocations: 82.72 kB / 3.375 GB, free: 91.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.637e-06/8.523, allocations: 0 / 3.375 GB, free: 91.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.002036/8.525, allocations: 0.7988 MB / 3.375 GB, free: 91.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/8.525, allocations: 112.8 kB / 3.376 GB, free: 91.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/8.527, allocations: 1.004 MB / 3.377 GB, free: 90.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.569e-05/8.527, allocations: 48.53 kB / 3.377 GB, free: 90.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006876/8.528, allocations: 0.6505 MB / 3.377 GB, free: 90.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/8.528, allocations: 250.2 kB / 3.377 GB, free: 90.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/8.528, allocations: 17.25 kB / 3.377 GB, free: 90.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001051/8.528, allocations: 339.5 kB / 3.378 GB, free: 90.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/8.529, allocations: 285.8 kB / 3.378 GB, free: 90.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000746/8.529, allocations: 0.5503 MB / 3.379 GB, free: 89.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/8.53, allocations: 389.6 kB / 3.379 GB, free: 89.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/8.53, allocations: 2.5 kB / 3.379 GB, free: 89.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002023/8.532, allocations: 1.022 MB / 3.38 GB, free: 89.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006022/8.533, allocations: 2.075 MB / 3.382 GB, free: 87.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/8.533, allocations: 4.812 kB / 3.382 GB, free: 87.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/8.533, allocations: 74.5 kB / 3.382 GB, free: 87.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/8.534, allocations: 209.6 kB / 3.382 GB, free: 87.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007118/8.535, allocations: 1.207 MB / 3.383 GB, free: 86.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/8.536, allocations: 102.4 kB / 3.384 GB, free: 86.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/8.537, allocations: 48.11 kB / 3.384 GB, free: 86.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/8.537, allocations: 3.719 kB / 3.384 GB, free: 86.56 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001753/8.538, allocations: 0.9247 MB / 3.384 GB, free: 86.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/8.538, allocations: 7.781 kB / 3.384 GB, free: 86.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/8.539, allocations: 102.3 kB / 3.385 GB, free: 86.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/8.54, allocations: 205.6 kB / 3.385 GB, free: 86.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/8.543, allocations: 2.682 MB / 3.387 GB, free: 84.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/8.545, allocations: 103.1 kB / 3.387 GB, free: 84.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.522e-05/8.545, allocations: 46.27 kB / 3.388 GB, free: 84.79 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.0003869/8.545, allocations: 161.5 kB / 3.388 GB, free: 84.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/8.546, allocations: 135.7 kB / 3.388 GB, free: 84.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/8.548, allocations: 0.8826 MB / 3.389 GB, free: 84.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/8.548, allocations: 9.562 kB / 3.389 GB, free: 84.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/8.548, allocations: 0.9688 kB / 3.389 GB, free: 84.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001744/8.55, allocations: 0.8018 MB / 3.389 GB, free: 84.33 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.005535/8.556, allocations: 2.233 MB / 3.392 GB, free: 83.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/8.556, allocations: 1.312 kB / 3.392 GB, free: 83.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009149/8.557, allocations: 166.5 kB / 3.392 GB, free: 83.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/8.557, allocations: 82.31 kB / 3.392 GB, free: 83.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.126e-05/8.557, allocations: 25.64 kB / 3.392 GB, free: 83.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006842/8.558, allocations: 1.197 MB / 3.393 GB, free: 82.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/8.558, allocations: 1.938 kB / 3.393 GB, free: 82.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/8.56, allocations: 1.389 MB / 3.394 GB, free: 82.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007466/8.561, allocations: 283.1 kB / 3.395 GB, free: 82.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/8.561, allocations: 19.38 kB / 3.395 GB, free: 82.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008917/8.562, allocations: 98.67 kB / 3.395 GB, free: 82.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/8.562, allocations: 60.2 kB / 3.395 GB, free: 82.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.171e-05/8.562, allocations: 24.39 kB / 3.395 GB, free: 82.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001523/8.564, allocations: 0.7766 MB / 3.396 GB, free: 82.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/8.564, allocations: 0 / 3.396 GB, free: 82.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0042/8.568, allocations: 1.056 MB / 3.397 GB, free: 82.1 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.005571/8.574, allocations: 2.712 MB / 3.399 GB, free: 81.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003469/8.577, allocations: 1.51 MB / 3.401 GB, free: 81.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/8.577, allocations: 0 / 3.401 GB, free: 81.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007033/8.578, allocations: 376.9 kB / 3.401 GB, free: 81.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/8.581, allocations: 0.6206 MB / 3.402 GB, free: 81.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/8.586, allocations: 2.026 MB / 3.404 GB, free: 80.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/8.588, allocations: 1.312 MB / 3.405 GB, free: 79.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002674/8.591, allocations: 491.8 kB / 3.406 GB, free: 79.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/8.591, allocations: 85.44 kB / 3.406 GB, free: 79.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.443e-06/8.591, allocations: 0 / 3.406 GB, free: 79.71 MB / 0.698 GB Notification: Performance of Templates: time 0.0965/8.688, allocations: 61.05 MB / 3.465 GB, free: 77.68 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)