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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 104.6 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.909/0.909, allocations: 135.1 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 63.91 kB / 0.506 GB, free: 8.406 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3814, allocations: 80.9 MB / 0.585 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.ClosedLoop_y): time 0.5607/0.9421, allocations: 205.6 MB / 0.7858 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01631/0.9585, allocations: 13.57 MB / 0.7991 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.961, allocations: 58.2 kB / 0.7991 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.9639, allocations: 0.9276 MB / 0.8 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007163/0.9711, allocations: 2.475 MB / 0.8025 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004164/0.9753, allocations: 1.567 MB / 0.804 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005377/0.9807, allocations: 3.628 MB / 0.8075 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/0.9832, allocations: 1.387 MB / 0.8089 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004552/0.9878, allocations: 1.963 MB / 0.8108 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.9902, allocations: 1.142 MB / 0.8119 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003865/0.9906, allocations: 159.4 kB / 0.8121 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005055/0.9957, allocations: 2.391 MB / 0.8144 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009796/0.9967, allocations: 0.5896 MB / 0.815 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.9982, allocations: 0.8963 MB / 0.8159 GB, free: 456 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005422/1.004, allocations: 3.246 MB / 0.819 GB, free: 68 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.004, allocations: 0 / 0.819 GB, free: 68 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/1.004, allocations: 0.9375 kB / 0.819 GB, free: 68 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.262e-05/1.004, allocations: 0 / 0.819 GB, free: 68 kB / 0.5762 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.004249/1.008, allocations: 2.191 MB / 0.8212 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.008, allocations: 13.55 kB / 0.8212 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/1.011, allocations: 437.7 kB / 0.8216 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002791/1.014, allocations: 1.327 MB / 0.8229 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.639e-05/1.014, allocations: 84.41 kB / 0.823 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/1.014, allocations: 111.4 kB / 0.8231 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/1.016, allocations: 1.149 MB / 0.8242 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/1.016, allocations: 0 / 0.8242 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.016, allocations: 42.03 kB / 0.8242 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/1.016, allocations: 34.81 kB / 0.8243 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/1.018, allocations: 0.8748 MB / 0.8251 GB, free: 13.7 MB / 0.5919 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.007004/1.025, allocations: 4.964 MB / 0.83 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/1.027, allocations: 0.7231 MB / 0.8307 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007973/1.028, allocations: 411.2 kB / 0.8311 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/1.028, allocations: 114.6 kB / 0.8312 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008793/1.029, allocations: 447.8 kB / 0.8316 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=67): time 3.016e-06/1.029, allocations: 0 / 0.8316 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67): time 0.003284/1.032, allocations: 1.201 MB / 0.8328 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.032, allocations: 62.25 kB / 0.8328 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/1.034, allocations: 1.171 MB / 0.834 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/1.034, allocations: 44.77 kB / 0.834 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006189/1.035, allocations: 0.659 MB / 0.8347 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/1.035, allocations: 235.7 kB / 0.8349 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/1.035, allocations: 176 kB / 0.8351 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.036, allocations: 337 kB / 0.8354 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007629/1.036, allocations: 382.2 kB / 0.8357 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009207/1.037, allocations: 0.6013 MB / 0.8363 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/1.039, allocations: 0.9704 MB / 0.8373 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.039, allocations: 0 / 0.8373 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00239/1.041, allocations: 1.207 MB / 0.8385 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/1.041, allocations: 39.98 kB / 0.8385 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/1.041, allocations: 7.719 kB / 0.8385 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/1.042, allocations: 121.6 kB / 0.8386 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009135/1.043, allocations: 197 kB / 0.8388 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008667/1.044, allocations: 1.218 MB / 0.84 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.045, allocations: 98.59 kB / 0.8401 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.563e-05/1.045, allocations: 43.98 kB / 0.8401 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00125/1.046, allocations: 0.6355 MB / 0.8408 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008329/1.047, allocations: 0.5765 MB / 0.8413 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001451/1.049, allocations: 0.8914 MB / 0.8422 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.169e-06/1.049, allocations: 4 kB / 0.8422 GB, free: 500 kB / 0.5919 GB Notification: Performance of matching and sorting (n=103) (initialization_lambda0): time 0.002459/1.051, allocations: 1.146 MB / 0.8433 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/1.051, allocations: 33.7 kB / 0.8433 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.051, allocations: 7.984 kB / 0.8434 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/1.052, allocations: 152.2 kB / 0.8435 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/1.053, allocations: 177.3 kB / 0.8437 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0047/1.057, allocations: 3.062 MB / 0.8467 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/1.059, allocations: 85.94 kB / 0.8467 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.796e-05/1.059, allocations: 43.98 kB / 0.8468 GB, free: 11.62 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003203/1.059, allocations: 229.5 kB / 0.847 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/1.059, allocations: 137.6 kB / 0.8471 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/1.062, allocations: 0.9064 MB / 0.848 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/1.062, allocations: 8 kB / 0.848 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/1.062, allocations: 0 / 0.848 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001691/1.063, allocations: 0.8132 MB / 0.8488 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004181/1.068, allocations: 2.153 MB / 0.8509 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/1.068, allocations: 3.984 kB / 0.8509 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008142/1.069, allocations: 154.4 kB / 0.8511 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/1.069, allocations: 79.94 kB / 0.8511 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/1.069, allocations: 19.98 kB / 0.8512 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007413/1.07, allocations: 1.204 MB / 0.8523 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.07, allocations: 3.984 kB / 0.8523 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/1.072, allocations: 1.379 MB / 0.8537 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006055/1.073, allocations: 291.2 kB / 0.854 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/1.073, allocations: 15.94 kB / 0.854 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007404/1.074, allocations: 35.97 kB / 0.854 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.074, allocations: 40.5 kB / 0.8541 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/1.074, allocations: 31.98 kB / 0.8541 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001219/1.075, allocations: 0.8031 MB / 0.8549 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.91e-07/1.075, allocations: 0 / 0.8549 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002356/1.078, allocations: 0.7755 MB / 0.8556 GB, free: 2.379 MB / 0.6075 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/1.079, allocations: 404.2 kB / 0.856 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003854/1.083, allocations: 1.67 MB / 0.8576 GB, free: 372 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.083, allocations: 4.125 kB / 0.8577 GB, free: 368 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009597/1.084, allocations: 392 kB / 0.858 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/1.087, allocations: 0.6722 MB / 0.8587 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004899/1.092, allocations: 2.643 MB / 0.8613 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009201/1.093, allocations: 1.272 MB / 0.8625 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/1.094, allocations: 107.4 kB / 0.8626 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of SimCode: time 1.203e-06/1.094, allocations: 0 / 0.8626 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.04691/1.14, allocations: 36.72 MB / 0.8985 GB, free: 6.73 MB / 0.6544 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)