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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 104.2 kB / 16.41 MB, free: 6.504 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.001312/0.001312, allocations: 193.6 kB / 17.34 MB, free: 5.758 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7785/0.7785, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 71.91 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1629, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.ClosedLoop_y): time 0.6114/0.7744, allocations: 205.6 MB / 0.8611 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0188/0.7932, allocations: 13.57 MB / 0.8744 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.7957, allocations: 55.69 kB / 0.8744 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.7986, allocations: 0.9283 MB / 0.8754 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006977/0.8057, allocations: 2.477 MB / 0.8778 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.8097, allocations: 1.576 MB / 0.8793 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005455/0.8152, allocations: 3.633 MB / 0.8829 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.8175, allocations: 1.39 MB / 0.8842 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004575/0.8221, allocations: 2.008 MB / 0.8862 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/0.8247, allocations: 1.145 MB / 0.8873 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005612/0.8253, allocations: 156 kB / 0.8874 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005054/0.8303, allocations: 2.401 MB / 0.8898 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.8314, allocations: 0.5765 MB / 0.8904 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001905/0.8333, allocations: 0.9019 MB / 0.8912 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006721/0.8401, allocations: 3.291 MB / 0.8944 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8401, allocations: 0 / 0.8944 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8401, allocations: 0 / 0.8944 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.185e-05/0.8402, allocations: 0 / 0.8944 GB, free: 6.023 MB / 0.6544 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.005139/0.8454, allocations: 2.188 MB / 0.8966 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.8454, allocations: 12.03 kB / 0.8966 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/0.8484, allocations: 441.3 kB / 0.897 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.8515, allocations: 1.377 MB / 0.8984 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-05/0.8516, allocations: 81.94 kB / 0.8984 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/0.8519, allocations: 104 kB / 0.8985 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.8543, allocations: 1.144 MB / 0.8997 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.8544, allocations: 7.922 kB / 0.8997 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.8545, allocations: 44.69 kB / 0.8997 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/0.8545, allocations: 34 kB / 0.8997 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.8566, allocations: 0.8744 MB / 0.9006 GB, free: 15.57 MB / 0.67 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.007222/0.8638, allocations: 4.921 MB / 0.9054 GB, free: 10.33 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.8656, allocations: 0.7207 MB / 0.9061 GB, free: 9.602 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008665/0.8665, allocations: 414.7 kB / 0.9065 GB, free: 9.195 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/0.8668, allocations: 109.6 kB / 0.9066 GB, free: 9.07 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009259/0.8677, allocations: 454.6 kB / 0.907 GB, free: 8.617 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 2.695e-06/0.8677, allocations: 0 / 0.907 GB, free: 8.617 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.003462/0.8712, allocations: 1.206 MB / 0.9082 GB, free: 7.383 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.8713, allocations: 59.97 kB / 0.9083 GB, free: 7.312 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.8735, allocations: 1.168 MB / 0.9094 GB, free: 6.129 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.8736, allocations: 45.7 kB / 0.9095 GB, free: 6.078 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007162/0.8744, allocations: 0.6573 MB / 0.9101 GB, free: 5.414 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.8747, allocations: 232.7 kB / 0.9103 GB, free: 5.184 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003882/0.8751, allocations: 174.5 kB / 0.9105 GB, free: 5.008 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.8753, allocations: 341.9 kB / 0.9108 GB, free: 4.668 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/0.8761, allocations: 380.6 kB / 0.9112 GB, free: 4.293 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.8771, allocations: 0.5994 MB / 0.9118 GB, free: 3.598 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.8789, allocations: 0.9711 MB / 0.9127 GB, free: 2.551 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.879, allocations: 4 kB / 0.9127 GB, free: 2.547 MB / 0.67 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002688/0.8817, allocations: 1.209 MB / 0.9139 GB, free: 1.32 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/0.8817, allocations: 33.7 kB / 0.9139 GB, free: 1.281 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.8818, allocations: 8 kB / 0.9139 GB, free: 1.273 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005152/0.8823, allocations: 118.3 kB / 0.914 GB, free: 1.156 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009564/0.8833, allocations: 203.9 kB / 0.9142 GB, free: 0.957 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.8844, allocations: 1.209 MB / 0.9154 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.8857, allocations: 104 kB / 0.9155 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.8858, allocations: 43.92 kB / 0.9156 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001352/0.8872, allocations: 0.6424 MB / 0.9162 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000953/0.8881, allocations: 0.5604 MB / 0.9167 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001516/0.8897, allocations: 0.8931 MB / 0.9176 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.452e-06/0.8897, allocations: 4 kB / 0.9176 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of matching and sorting (n=103) (initialization_lambda0): time 0.002424/0.8921, allocations: 1.154 MB / 0.9187 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.8922, allocations: 35.89 kB / 0.9188 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.8922, allocations: 4 kB / 0.9188 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005775/0.8928, allocations: 154 kB / 0.9189 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.8935, allocations: 179.7 kB / 0.9191 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004525/0.898, allocations: 3.047 MB / 0.9221 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.8991, allocations: 86.02 kB / 0.9221 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.189e-05/0.8992, allocations: 36 kB / 0.9222 GB, free: 8.355 MB / 0.6856 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.0003217/0.8996, allocations: 236 kB / 0.9224 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.8999, allocations: 138.3 kB / 0.9225 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.902, allocations: 0.9111 MB / 0.9234 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.902, allocations: 15.92 kB / 0.9234 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.902, allocations: 0 / 0.9234 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001569/0.9036, allocations: 0.8031 MB / 0.9242 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003969/0.9075, allocations: 2.158 MB / 0.9263 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.9076, allocations: 0 / 0.9263 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.9084, allocations: 147.8 kB / 0.9265 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.9087, allocations: 76.84 kB / 0.9266 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/0.9088, allocations: 27.98 kB / 0.9266 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000745/0.9095, allocations: 1.201 MB / 0.9278 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9095, allocations: 3.938 kB / 0.9278 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.9122, allocations: 1.385 MB / 0.9291 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/0.9128, allocations: 291.2 kB / 0.9294 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/0.9131, allocations: 16 kB / 0.9294 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007365/0.9138, allocations: 39.91 kB / 0.9294 GB, free: 0.6797 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.9139, allocations: 44.5 kB / 0.9295 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/0.914, allocations: 27.98 kB / 0.9295 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001349/0.9153, allocations: 0.7953 MB / 0.9303 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9154, allocations: 0 / 0.9303 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002352/0.9177, allocations: 0.7756 MB / 0.931 GB, free: 15.04 MB / 0.7012 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.001146/0.9189, allocations: 404.9 kB / 0.9314 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003522/0.9224, allocations: 1.593 MB / 0.933 GB, free: 13 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.9224, allocations: 0 / 0.933 GB, free: 13 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009133/0.9234, allocations: 395.7 kB / 0.9334 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/0.9263, allocations: 0.6839 MB / 0.934 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.931, allocations: 2.61 MB / 0.9366 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.932, allocations: 1.272 MB / 0.9378 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/0.9324, allocations: 107.4 kB / 0.9379 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of SimCode: time 8.32e-07/0.9324, allocations: 0 / 0.9379 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of Templates: time 0.04774/0.9802, allocations: 37.08 MB / 0.9741 GB, free: 2.992 MB / 0.7325 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)