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.001071/0.001071, allocations: 171.4 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7352/0.7352, allocations: 130.7 MB / 138.7 MB, free: 3.57 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.476/1.476, allocations: 221.5 MB / 391.8 MB, free: 14.23 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.0009147/0.0009145, allocations: 98.81 kB / 473.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.751e-05/1.754e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4331, allocations: 81.57 MB / 0.6282 GB, free: 42.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.336/4.769, allocations: 1.91 GB / 2.538 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/4.769, allocations: 87.95 kB / 2.538 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.307/8.076, allocations: 0.8014 GB / 3.34 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/8.076, allocations: 0 / 3.34 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003386/8.076, allocations: 43.22 kB / 3.34 GB, free: 82.64 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.007799/8.084, allocations: 1.824 MB / 3.342 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.983e-05/8.084, allocations: 11.97 kB / 3.342 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004667/8.089, allocations: 425.8 kB / 3.342 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006486/8.095, allocations: 1.822 MB / 3.344 GB, free: 78.51 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-05/8.096, allocations: 32 kB / 3.344 GB, free: 78.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004686/8.096, allocations: 64 kB / 3.344 GB, free: 78.42 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0022/8.098, allocations: 0.7927 MB / 3.345 GB, free: 77.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/8.1, allocations: 0.9763 MB / 3.346 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/8.101, allocations: 0 / 3.346 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/8.101, allocations: 0 / 3.346 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/8.101, allocations: 34 kB / 3.346 GB, free: 76.57 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.007908/8.109, allocations: 4.763 MB / 3.35 GB, free: 71.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/8.11, allocations: 0.8624 MB / 3.351 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005199/8.111, allocations: 373.7 kB / 3.351 GB, free: 70.31 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/8.111, allocations: 103.7 kB / 3.352 GB, free: 70.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006159/8.111, allocations: 408.5 kB / 3.352 GB, free: 69.78 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009491/8.112, allocations: 63.5 kB / 3.352 GB, free: 69.72 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 6.963e-06/8.112, allocations: 4 kB / 3.352 GB, free: 69.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.002435/8.115, allocations: 0.8546 MB / 3.353 GB, free: 68.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/8.115, allocations: 111.6 kB / 3.353 GB, free: 68.72 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/8.117, allocations: 0.8774 MB / 3.354 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/8.117, allocations: 29.7 kB / 3.354 GB, free: 67.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006317/8.117, allocations: 0.6525 MB / 3.354 GB, free: 67.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/8.118, allocations: 251.3 kB / 3.355 GB, free: 66.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/8.118, allocations: 0 / 3.355 GB, free: 66.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001145/8.118, allocations: 338 kB / 3.355 GB, free: 66.56 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004537/8.118, allocations: 298.5 kB / 3.355 GB, free: 66.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/8.119, allocations: 0.5497 MB / 3.356 GB, free: 65.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/8.12, allocations: 400.3 kB / 3.356 GB, free: 65.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/8.12, allocations: 0 / 3.356 GB, free: 65.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001784/8.122, allocations: 1.007 MB / 3.357 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008803/8.122, allocations: 2.068 MB / 3.359 GB, free: 61.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/8.123, allocations: 11.95 kB / 3.359 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003901/8.123, allocations: 96.8 kB / 3.359 GB, free: 61.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000921/8.124, allocations: 215.6 kB / 3.36 GB, free: 61.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008646/8.125, allocations: 1.283 MB / 3.361 GB, free: 60.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/8.126, allocations: 87.88 kB / 3.361 GB, free: 60.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/8.126, allocations: 47.98 kB / 3.361 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/8.126, allocations: 4 kB / 3.361 GB, free: 60.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001605/8.128, allocations: 0.8194 MB / 3.362 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/8.128, allocations: 11.94 kB / 3.362 GB, free: 59.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/8.128, allocations: 101.2 kB / 3.362 GB, free: 59.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/8.129, allocations: 191.8 kB / 3.362 GB, free: 59.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/8.133, allocations: 2.606 MB / 3.365 GB, free: 56.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/8.135, allocations: 79.83 kB / 3.365 GB, free: 56.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/8.135, allocations: 43.98 kB / 3.365 GB, free: 56.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.0003545/8.136, allocations: 132.7 kB / 3.365 GB, free: 56.04 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000426/8.136, allocations: 134.4 kB / 3.365 GB, free: 55.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/8.138, allocations: 0.8453 MB / 3.366 GB, free: 55.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/8.138, allocations: 8 kB / 3.366 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/8.138, allocations: 6.906 kB / 3.366 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001132/8.139, allocations: 0.7615 MB / 3.367 GB, free: 54.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.004054/8.143, allocations: 2.079 MB / 3.369 GB, free: 52.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/8.143, allocations: 128 / 3.369 GB, free: 52.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007665/8.144, allocations: 167.8 kB / 3.369 GB, free: 51.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001719/8.144, allocations: 60.83 kB / 3.369 GB, free: 51.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/8.144, allocations: 15.98 kB / 3.369 GB, free: 51.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005509/8.145, allocations: 1.208 MB / 3.37 GB, free: 50.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/8.145, allocations: 0 / 3.37 GB, free: 50.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/8.147, allocations: 1.347 MB / 3.371 GB, free: 49.22 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006371/8.147, allocations: 275.4 kB / 3.372 GB, free: 48.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/8.148, allocations: 4 kB / 3.372 GB, free: 48.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/8.149, allocations: 83.91 kB / 3.372 GB, free: 48.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/8.149, allocations: 60.38 kB / 3.372 GB, free: 48.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.386e-05/8.149, allocations: 31.98 kB / 3.372 GB, free: 48.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001104/8.15, allocations: 0.6652 MB / 3.372 GB, free: 48.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.31e-07/8.15, allocations: 0 / 3.372 GB, free: 48.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003574/8.154, allocations: 0.9639 MB / 3.373 GB, free: 47.12 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.004821/8.159, allocations: 2.847 MB / 3.376 GB, free: 44.39 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00263/8.161, allocations: 1.461 MB / 3.378 GB, free: 42.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/8.161, allocations: 0 / 3.378 GB, free: 42.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006272/8.162, allocations: 354 kB / 3.378 GB, free: 42.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/8.165, allocations: 0.5733 MB / 3.378 GB, free: 41.99 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/8.169, allocations: 1.983 MB / 3.38 GB, free: 39.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/8.17, allocations: 1.307 MB / 3.382 GB, free: 38.62 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002234/8.172, allocations: 462.4 kB / 3.382 GB, free: 38.17 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/8.173, allocations: 87.41 kB / 3.382 GB, free: 38.08 MB / 0.6823 GB Notification: Performance of SimCode: time 2.344e-06/8.173, allocations: 0 / 3.382 GB, free: 38.08 MB / 0.6823 GB Notification: Performance of Templates: time 0.06248/8.235, allocations: 39.44 MB / 3.421 GB, free: 14.9 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)