Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Movers.Examples.ClosedLoop_y") translateModel(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001418/0.001419, 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/package.mo): time 0.779/0.779, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.429/1.429, allocations: 221.3 MB / 396.8 MB, free: 9.125 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.0009126/0.0009126, allocations: 105.4 kB / 479 MB, free: 10.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.642e-05, allocations: 2.562 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1403, allocations: 81.58 MB / 0.6347 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.283/4.424, allocations: 1.911 GB / 2.545 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/4.424, allocations: 89.83 kB / 2.546 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.01/7.434, allocations: 0.8104 GB / 3.356 GB, free: 7.875 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.943e-06/7.434, allocations: 0 / 3.356 GB, free: 7.875 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001783/7.434, allocations: 43.98 kB / 3.356 GB, free: 7.832 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.005321/7.439, allocations: 1.825 MB / 3.358 GB, free: 5.945 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/7.439, allocations: 8.031 kB / 3.358 GB, free: 5.938 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/7.442, allocations: 432.8 kB / 3.358 GB, free: 5.516 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004691/7.447, allocations: 1.819 MB / 3.36 GB, free: 3.645 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-05/7.447, allocations: 78 kB / 3.36 GB, free: 3.566 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/7.447, allocations: 104 kB / 3.36 GB, free: 3.465 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/7.449, allocations: 1.109 MB / 3.361 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/7.449, allocations: 352 / 3.361 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/7.449, allocations: 43.95 kB / 3.361 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/7.45, allocations: 34 kB / 3.361 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/7.451, allocations: 0.82 MB / 3.362 GB, free: 1.426 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.5773/8.028, allocations: 4.931 MB / 3.367 GB, free: 92.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/8.03, allocations: 0.8404 MB / 3.368 GB, free: 92.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/8.031, allocations: 356.1 kB / 3.368 GB, free: 92.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/8.031, allocations: 111.7 kB / 3.368 GB, free: 92.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008792/8.032, allocations: 441.4 kB / 3.369 GB, free: 92.53 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008971/8.033, allocations: 89.42 kB / 3.369 GB, free: 92.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.477e-06/8.033, allocations: 0 / 3.369 GB, free: 92.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.002011/8.035, allocations: 0.7866 MB / 3.37 GB, free: 92.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/8.035, allocations: 115.2 kB / 3.37 GB, free: 92.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/8.037, allocations: 1.006 MB / 3.371 GB, free: 92.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.503e-05/8.037, allocations: 45.27 kB / 3.371 GB, free: 92.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005813/8.038, allocations: 0.6469 MB / 3.371 GB, free: 91.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/8.038, allocations: 249.8 kB / 3.372 GB, free: 91.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/8.038, allocations: 23.03 kB / 3.372 GB, free: 91.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/8.038, allocations: 340.7 kB / 3.372 GB, free: 91.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/8.038, allocations: 289.6 kB / 3.372 GB, free: 91.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/8.039, allocations: 0.552 MB / 3.373 GB, free: 91.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/8.04, allocations: 388.4 kB / 3.373 GB, free: 91.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/8.04, allocations: 1.719 kB / 3.373 GB, free: 91.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001932/8.042, allocations: 1.026 MB / 3.374 GB, free: 90.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004968/8.042, allocations: 2.066 MB / 3.376 GB, free: 88.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/8.042, allocations: 5.625 kB / 3.376 GB, free: 88.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003772/8.043, allocations: 82.47 kB / 3.376 GB, free: 88.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009523/8.044, allocations: 206.3 kB / 3.376 GB, free: 88.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006678/8.044, allocations: 1.209 MB / 3.378 GB, free: 87.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/8.046, allocations: 105.9 kB / 3.378 GB, free: 87.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/8.046, allocations: 52.14 kB / 3.378 GB, free: 87.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/8.046, allocations: 6.219 kB / 3.378 GB, free: 87.75 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001786/8.048, allocations: 0.9208 MB / 3.379 GB, free: 87.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/8.048, allocations: 9.891 kB / 3.379 GB, free: 87.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004086/8.048, allocations: 106.5 kB / 3.379 GB, free: 87.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/8.049, allocations: 195.4 kB / 3.379 GB, free: 87.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/8.053, allocations: 2.676 MB / 3.381 GB, free: 86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/8.054, allocations: 99.8 kB / 3.382 GB, free: 86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.579e-05/8.054, allocations: 42.31 kB / 3.382 GB, free: 86 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.0003135/8.055, allocations: 163.8 kB / 3.382 GB, free: 85.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/8.055, allocations: 140.2 kB / 3.382 GB, free: 85.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/8.057, allocations: 0.8906 MB / 3.383 GB, free: 85.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/8.057, allocations: 9.844 kB / 3.383 GB, free: 85.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/8.057, allocations: 0 / 3.383 GB, free: 85.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/8.058, allocations: 0.7959 MB / 3.384 GB, free: 85.54 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.004009/8.062, allocations: 2.241 MB / 3.386 GB, free: 85.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/8.062, allocations: 4.781 kB / 3.386 GB, free: 85.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008571/8.063, allocations: 164.9 kB / 3.386 GB, free: 85.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002898/8.063, allocations: 80.88 kB / 3.386 GB, free: 85.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/8.063, allocations: 22.3 kB / 3.386 GB, free: 85.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006143/8.064, allocations: 1.19 MB / 3.387 GB, free: 83.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/8.064, allocations: 3.969 kB / 3.387 GB, free: 83.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/8.066, allocations: 1.389 MB / 3.389 GB, free: 83.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008069/8.067, allocations: 288.5 kB / 3.389 GB, free: 83.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/8.067, allocations: 16.19 kB / 3.389 GB, free: 83.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009326/8.068, allocations: 101.6 kB / 3.389 GB, free: 83.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/8.068, allocations: 62.92 kB / 3.389 GB, free: 83.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.711e-05/8.069, allocations: 28.22 kB / 3.389 GB, free: 83.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001423/8.07, allocations: 0.7796 MB / 3.39 GB, free: 83.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/8.07, allocations: 0 / 3.39 GB, free: 83.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004289/8.074, allocations: 1.053 MB / 3.391 GB, free: 83.3 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.005175/8.079, allocations: 2.706 MB / 3.393 GB, free: 82.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003758/8.083, allocations: 1.502 MB / 3.395 GB, free: 82.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/8.083, allocations: 1.625 kB / 3.395 GB, free: 82.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008019/8.084, allocations: 377.4 kB / 3.395 GB, free: 82.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/8.088, allocations: 0.6286 MB / 3.396 GB, free: 82.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/8.092, allocations: 2.02 MB / 3.398 GB, free: 81.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/8.093, allocations: 1.317 MB / 3.399 GB, free: 80.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002791/8.096, allocations: 490.4 kB / 3.4 GB, free: 80.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/8.096, allocations: 86.2 kB / 3.4 GB, free: 80.92 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/8.096, allocations: 3.875 kB / 3.4 GB, free: 80.92 MB / 0.698 GB Notification: Performance of Templates: time 0.08803/8.184, allocations: 61.04 MB / 3.459 GB, free: 78.95 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)