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.005702/0.005702, 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/package.mo): time 0.8134/0.8134, allocations: 132.3 MB / 148.1 MB, free: 196 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 223.2 MB / 403.2 MB, free: 6.75 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.0009965/0.0009967, allocations: 93.81 kB / 485.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003625, allocations: 12 kB / 0.5641 GB, free: 2.156 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/0.5447, allocations: 81.58 MB / 0.6437 GB, free: 39.39 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.917/5.462, allocations: 1.911 GB / 2.555 GB, free: 90.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/5.462, allocations: 91.95 kB / 2.555 GB, free: 90.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.694/8.156, allocations: 0.8112 GB / 3.366 GB, free: 44.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.934e-06/8.156, allocations: 4 kB / 3.366 GB, free: 44.51 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001997/8.156, allocations: 35.98 kB / 3.366 GB, free: 44.48 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.007251/8.164, allocations: 2.323 MB / 3.368 GB, free: 42.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/8.164, allocations: 8.031 kB / 3.368 GB, free: 42.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/8.167, allocations: 425.8 kB / 3.369 GB, free: 41.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004924/8.172, allocations: 1.838 MB / 3.37 GB, free: 39.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.623e-05/8.172, allocations: 78 kB / 3.37 GB, free: 39.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/8.172, allocations: 111.9 kB / 3.371 GB, free: 39.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/8.174, allocations: 1.156 MB / 3.372 GB, free: 38.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/8.174, allocations: 3.938 kB / 3.372 GB, free: 38.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/8.174, allocations: 39.98 kB / 3.372 GB, free: 38.35 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/8.174, allocations: 38 kB / 3.372 GB, free: 38.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/8.176, allocations: 0.9096 MB / 3.373 GB, free: 37.41 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.006157/8.182, allocations: 4.948 MB / 3.377 GB, free: 32.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/8.184, allocations: 0.9447 MB / 3.378 GB, free: 31.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/8.184, allocations: 106.7 kB / 3.378 GB, free: 31.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007935/8.185, allocations: 492 kB / 3.379 GB, free: 30.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005955/8.186, allocations: 91.33 kB / 3.379 GB, free: 30.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.707e-06/8.186, allocations: 0 / 3.379 GB, free: 30.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.002867/8.189, allocations: 1.291 MB / 3.38 GB, free: 29.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/8.189, allocations: 111.5 kB / 3.38 GB, free: 29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/8.19, allocations: 1.016 MB / 3.381 GB, free: 27.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/8.19, allocations: 45.7 kB / 3.381 GB, free: 27.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/8.191, allocations: 0.6536 MB / 3.382 GB, free: 27.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/8.191, allocations: 244.4 kB / 3.382 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/8.191, allocations: 16 kB / 3.382 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/8.191, allocations: 345.9 kB / 3.383 GB, free: 26.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/8.192, allocations: 333.8 kB / 3.383 GB, free: 26.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007541/8.192, allocations: 0.588 MB / 3.384 GB, free: 25.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/8.193, allocations: 442.8 kB / 3.384 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/8.193, allocations: 0 / 3.384 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002004/8.195, allocations: 1.125 MB / 3.385 GB, free: 24.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000372/8.196, allocations: 2.066 MB / 3.387 GB, free: 21.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/8.196, allocations: 8 kB / 3.387 GB, free: 21.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/8.196, allocations: 80.73 kB / 3.387 GB, free: 21.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009358/8.197, allocations: 207.8 kB / 3.387 GB, free: 21.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005968/8.198, allocations: 1.209 MB / 3.389 GB, free: 20.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/8.199, allocations: 100 kB / 3.389 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/8.199, allocations: 51.92 kB / 3.389 GB, free: 20.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/8.199, allocations: 4 kB / 3.389 GB, free: 20.16 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001957/8.201, allocations: 1.012 MB / 3.39 GB, free: 19.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/8.201, allocations: 4.188 kB / 3.39 GB, free: 19.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004357/8.202, allocations: 112.8 kB / 3.39 GB, free: 19.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007906/8.202, allocations: 191.7 kB / 3.39 GB, free: 18.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/8.206, allocations: 2.74 MB / 3.393 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/8.208, allocations: 99.83 kB / 3.393 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/8.208, allocations: 43.98 kB / 3.393 GB, free: 15.75 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 () * 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.001064/8.209, allocations: 471.1 kB / 3.393 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/8.209, allocations: 134.3 kB / 3.393 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/8.211, allocations: 0.9876 MB / 3.394 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/8.211, allocations: 8 kB / 3.394 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/8.211, allocations: 4 kB / 3.394 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001466/8.213, allocations: 0.8796 MB / 3.395 GB, free: 13.21 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 postOpt removeSimpleEquations (simulation): time 0.004274/8.217, allocations: 2.316 MB / 3.397 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/8.217, allocations: 4 kB / 3.397 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008181/8.218, allocations: 167.9 kB / 3.398 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000281/8.218, allocations: 88.7 kB / 3.398 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.891e-05/8.218, allocations: 23.94 kB / 3.398 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004857/8.219, allocations: 1.193 MB / 3.399 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/8.219, allocations: 4.031 kB / 3.399 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/8.221, allocations: 1.528 MB / 3.4 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005985/8.222, allocations: 279.4 kB / 3.401 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/8.222, allocations: 16 kB / 3.401 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009559/8.223, allocations: 103.8 kB / 3.401 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/8.223, allocations: 56.42 kB / 3.401 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/8.223, allocations: 27.98 kB / 3.401 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001013/8.224, allocations: 0.7914 MB / 3.402 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/8.224, allocations: 4 kB / 3.402 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003009/8.227, allocations: 1.049 MB / 3.403 GB, free: 5.348 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) * 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.003633/8.231, allocations: 2.717 MB / 3.405 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003502/8.235, allocations: 1.594 MB / 3.407 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.505e-06/8.235, allocations: 0 / 3.407 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008939/8.235, allocations: 415.1 kB / 3.407 GB, free: 444 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/8.238, allocations: 0.6404 MB / 3.408 GB, free: 15.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005179/8.244, allocations: 3.141 MB / 3.411 GB, free: 12.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/8.245, allocations: 1.316 MB / 3.412 GB, free: 11.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00156/8.246, allocations: 331.2 kB / 3.413 GB, free: 10.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/8.247, allocations: 103.4 kB / 3.413 GB, free: 10.84 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/8.247, allocations: 0 / 3.413 GB, free: 10.84 MB / 0.698 GB Notification: Performance of Templates: time 0.4308/8.678, allocations: 52.77 MB / 3.464 GB, free: 103.6 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)