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.001152/0.001152, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 177.3 kB / 16.92 MB, free: 6.652 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9468/0.9468, allocations: 135.3 MB / 427.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003748, allocations: 13.77 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1765, allocations: 82.31 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.ClosedLoop_y): time 0.5437/0.7203, allocations: 200.7 MB / 0.7846 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01843/0.7387, allocations: 13.52 MB / 0.7978 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.7405, allocations: 47.69 kB / 0.7979 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.7429, allocations: 0.8008 MB / 0.7986 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006454/0.7494, allocations: 2.305 MB / 0.8009 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.753, allocations: 1.396 MB / 0.8022 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005659/0.7587, allocations: 4.793 MB / 0.8069 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.7604, allocations: 1.159 MB / 0.8081 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/0.7641, allocations: 1.716 MB / 0.8097 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.7662, allocations: 1.12 MB / 0.8108 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.7664, allocations: 60 kB / 0.8109 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004457/0.7709, allocations: 2.572 MB / 0.8134 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005804/0.7715, allocations: 498.3 kB / 0.8139 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009004/0.7724, allocations: 0.8059 MB / 0.8147 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003049/0.7754, allocations: 2.393 MB / 0.817 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7754, allocations: 3.938 kB / 0.817 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7755, allocations: 0 / 0.817 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.6e-05/0.7755, allocations: 0 / 0.817 GB, free: 2.555 MB / 0.6231 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.003738/0.7792, allocations: 1.89 MB / 0.8188 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.7793, allocations: 12.03 kB / 0.8189 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/0.7819, allocations: 449.4 kB / 0.8193 GB, free: 160 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.7843, allocations: 1.334 MB / 0.8206 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.072e-05/0.7844, allocations: 81.94 kB / 0.8207 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.7846, allocations: 100 kB / 0.8208 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.7866, allocations: 1.158 MB / 0.8219 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.7867, allocations: 0 / 0.8219 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/0.7868, allocations: 43.94 kB / 0.8219 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.395e-05/0.7868, allocations: 41.98 kB / 0.822 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.7887, allocations: 0.8979 MB / 0.8229 GB, free: 12.41 MB / 0.6387 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.006098/0.7948, allocations: 4.881 MB / 0.8276 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.7965, allocations: 0.7499 MB / 0.8284 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008461/0.7974, allocations: 432.8 kB / 0.8288 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.7976, allocations: 102 kB / 0.8289 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000895/0.7985, allocations: 478.8 kB / 0.8293 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004516/0.799, allocations: 79.34 kB / 0.8294 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 2.665e-06/0.799, allocations: 4 kB / 0.8294 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.003/0.802, allocations: 1.241 MB / 0.8306 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.802, allocations: 59.97 kB / 0.8307 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.8036, allocations: 1.176 MB / 0.8318 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/0.8037, allocations: 41.7 kB / 0.8319 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00057/0.8042, allocations: 0.6574 MB / 0.8325 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.8045, allocations: 236.5 kB / 0.8327 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.8046, allocations: 93.61 kB / 0.8328 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8047, allocations: 337.9 kB / 0.8331 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007616/0.8055, allocations: 373.8 kB / 0.8335 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009176/0.8064, allocations: 0.619 MB / 0.8341 GB, free: 376 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.8081, allocations: 0.9909 MB / 0.8351 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.8082, allocations: 0 / 0.8351 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002482/0.8106, allocations: 1.26 MB / 0.8363 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.8108, allocations: 270.6 kB / 0.8365 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.8109, allocations: 8 kB / 0.8366 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004417/0.8113, allocations: 124.7 kB / 0.8367 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008842/0.8122, allocations: 205.5 kB / 0.8369 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000945/0.8132, allocations: 1.216 MB / 0.8381 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.8144, allocations: 93.52 kB / 0.8381 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/0.8144, allocations: 43.98 kB / 0.8382 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.415e-06/0.8145, allocations: 8 kB / 0.8382 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002028/0.8165, allocations: 1.029 MB / 0.8392 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.8165, allocations: 8 kB / 0.8392 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005284/0.8171, allocations: 152.9 kB / 0.8394 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.8178, allocations: 183.7 kB / 0.8395 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004216/0.822, allocations: 2.825 MB / 0.8423 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.8232, allocations: 87.84 kB / 0.8424 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.1e-05/0.8233, allocations: 43.98 kB / 0.8424 GB, free: 7.387 MB / 0.6544 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 (98): * Single equations (assignments): 94 * 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.0008264/0.8241, allocations: 464.7 kB / 0.8429 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.8243, allocations: 134.3 kB / 0.843 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.8264, allocations: 0.9291 MB / 0.8439 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.8264, allocations: 12 kB / 0.8439 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.8264, allocations: 0 / 0.8439 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001644/0.8281, allocations: 0.8444 MB / 0.8447 GB, free: 4.957 MB / 0.6544 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.004153/0.8322, allocations: 2.265 MB / 0.8469 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8322, allocations: 0 / 0.8469 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007952/0.833, allocations: 159.9 kB / 0.8471 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.8333, allocations: 76.81 kB / 0.8472 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.828e-05/0.8334, allocations: 23.98 kB / 0.8472 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006925/0.8341, allocations: 1.201 MB / 0.8484 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.8341, allocations: 0 / 0.8484 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/0.8368, allocations: 1.407 MB / 0.8497 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005415/0.8374, allocations: 279.3 kB / 0.85 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.8376, allocations: 16 kB / 0.85 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009428/0.8386, allocations: 91.84 kB / 0.8501 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.8387, allocations: 44.5 kB / 0.8502 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.8388, allocations: 27.98 kB / 0.8502 GB, free: 15.18 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001406/0.8402, allocations: 0.7992 MB / 0.851 GB, free: 14.38 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8402, allocations: 4 kB / 0.851 GB, free: 14.38 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002458/0.8426, allocations: 0.7911 MB / 0.8517 GB, free: 13.59 MB / 0.67 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 (66): * Single equations (assignments): 62 * 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.001141/0.8438, allocations: 399 kB / 0.8521 GB, free: 13.19 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003583/0.8474, allocations: 1.615 MB / 0.8537 GB, free: 11.54 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.8474, allocations: 4 kB / 0.8537 GB, free: 11.54 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009393/0.8484, allocations: 395.8 kB / 0.8541 GB, free: 11.16 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/0.8521, allocations: 0.64 MB / 0.8547 GB, free: 10.53 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005484/0.8576, allocations: 3.255 MB / 0.8579 GB, free: 7.234 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.8589, allocations: 1.281 MB / 0.8591 GB, free: 5.922 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/0.8594, allocations: 103.4 kB / 0.8592 GB, free: 5.824 MB / 0.67 GB Notification: Performance of SimCode: time 1.543e-06/0.8594, allocations: 0 / 0.8592 GB, free: 5.824 MB / 0.67 GB Notification: Performance of Templates: time 0.329/1.188, allocations: 36.51 MB / 0.8949 GB, free: 211.3 MB / 0.67 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)