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.0008228/0.0008228, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00906/0.00906, allocations: 168.8 kB / 16.26 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.452/1.452, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.039/1.039, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 12.28 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2013, allocations: 82.3 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.ClosedLoop_y): time 0.5529/0.7543, allocations: 200.7 MB / 0.784 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.7738, allocations: 13.51 MB / 0.7971 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.7761, allocations: 47.69 kB / 0.7972 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002425/0.7785, allocations: 0.8085 MB / 0.798 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006344/0.7849, allocations: 2.301 MB / 0.8002 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003627/0.7885, allocations: 1.393 MB / 0.8016 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006172/0.7947, allocations: 4.797 MB / 0.8063 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/0.7968, allocations: 1.167 MB / 0.8074 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004095/0.8009, allocations: 1.723 MB / 0.8091 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.8032, allocations: 1.105 MB / 0.8102 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002512/0.8035, allocations: 64 kB / 0.8102 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005283/0.8088, allocations: 2.572 MB / 0.8127 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007315/0.8096, allocations: 486.4 kB / 0.8132 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.8107, allocations: 0.8097 MB / 0.814 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006057/0.8168, allocations: 3.248 MB / 0.8172 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8168, allocations: 3.938 kB / 0.8172 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.218e-06/0.8169, allocations: 4 kB / 0.8172 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.043e-05/0.8169, allocations: 0 / 0.8172 GB, free: 1.512 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.003898/0.8208, allocations: 1.89 MB / 0.819 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.8209, allocations: 8.031 kB / 0.819 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/0.8238, allocations: 445.4 kB / 0.8195 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/0.8265, allocations: 1.331 MB / 0.8208 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.8266, allocations: 81.94 kB / 0.8208 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.8268, allocations: 108 kB / 0.8209 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.8291, allocations: 1.154 MB / 0.8221 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/0.8291, allocations: 7.875 kB / 0.8221 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.8292, allocations: 51.92 kB / 0.8221 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.8293, allocations: 38 kB / 0.8222 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.8313, allocations: 0.9057 MB / 0.823 GB, free: 11.36 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.00719/0.8385, allocations: 4.877 MB / 0.8278 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.8403, allocations: 0.7499 MB / 0.8285 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008681/0.8412, allocations: 428.8 kB / 0.829 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/0.8414, allocations: 101.7 kB / 0.829 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009929/0.8424, allocations: 475.3 kB / 0.8295 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006241/0.843, allocations: 79.34 kB / 0.8296 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 3.226e-06/0.8431, allocations: 0 / 0.8296 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.003204/0.8463, allocations: 1.249 MB / 0.8308 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.8463, allocations: 59.97 kB / 0.8309 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.8479, allocations: 1.168 MB / 0.832 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.848, allocations: 45.7 kB / 0.832 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006353/0.8487, allocations: 0.6535 MB / 0.8327 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.8489, allocations: 248.5 kB / 0.8329 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.8491, allocations: 85.61 kB / 0.833 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8492, allocations: 337.9 kB / 0.8333 GB, free: 408 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007742/0.85, allocations: 385.8 kB / 0.8337 GB, free: 24 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000933/0.8509, allocations: 0.6112 MB / 0.8343 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.8528, allocations: 0.9869 MB / 0.8352 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.912e-06/0.8528, allocations: 0 / 0.8352 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00302/0.8558, allocations: 1.252 MB / 0.8365 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.000278/0.8561, allocations: 282.9 kB / 0.8367 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.8562, allocations: 4 kB / 0.8367 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004876/0.8567, allocations: 120.7 kB / 0.8369 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009097/0.8576, allocations: 211.7 kB / 0.8371 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009686/0.8586, allocations: 1.205 MB / 0.8382 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.8598, allocations: 97.67 kB / 0.8383 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-05/0.8599, allocations: 47.98 kB / 0.8384 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.8599, allocations: 4 kB / 0.8384 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002126/0.862, allocations: 1.029 MB / 0.8394 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.862, allocations: 11.97 kB / 0.8394 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005407/0.8626, allocations: 153.2 kB / 0.8395 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007214/0.8633, allocations: 191.8 kB / 0.8397 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004322/0.8677, allocations: 2.81 MB / 0.8425 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.869, allocations: 87.84 kB / 0.8426 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.846e-05/0.8691, allocations: 43.98 kB / 0.8426 GB, free: 6.348 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.0008643/0.8699, allocations: 468.1 kB / 0.843 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.8701, allocations: 134.3 kB / 0.8432 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.8723, allocations: 0.9446 MB / 0.8441 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.8723, allocations: 8 kB / 0.8441 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.8723, allocations: 0 / 0.8441 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001624/0.8739, allocations: 0.8405 MB / 0.8449 GB, free: 3.91 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.004154/0.8781, allocations: 2.257 MB / 0.8471 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.8781, allocations: 4 kB / 0.8471 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007922/0.8789, allocations: 159.9 kB / 0.8473 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.8792, allocations: 80.81 kB / 0.8474 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/0.8793, allocations: 19.98 kB / 0.8474 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007239/0.88, allocations: 1.197 MB / 0.8485 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.88, allocations: 4.031 kB / 0.8485 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.8829, allocations: 1.407 MB / 0.8499 GB, free: 14.61 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006522/0.8836, allocations: 283.3 kB / 0.8502 GB, free: 14.31 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.8837, allocations: 16 kB / 0.8502 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008514/0.8846, allocations: 87.86 kB / 0.8503 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.8847, allocations: 56.42 kB / 0.8503 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/0.8848, allocations: 24 kB / 0.8504 GB, free: 14.13 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001264/0.8861, allocations: 0.7992 MB / 0.8511 GB, free: 13.33 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8861, allocations: 0 / 0.8511 GB, free: 13.33 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002344/0.8884, allocations: 0.7873 MB / 0.8519 GB, free: 12.54 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.001138/0.8896, allocations: 409.6 kB / 0.8523 GB, free: 12.14 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003572/0.8932, allocations: 1.607 MB / 0.8539 GB, free: 10.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8932, allocations: 0 / 0.8539 GB, free: 10.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008715/0.8941, allocations: 407.8 kB / 0.8543 GB, free: 10.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/0.8973, allocations: 0.6355 MB / 0.8549 GB, free: 9.477 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004792/0.9021, allocations: 3.16 MB / 0.858 GB, free: 6.281 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009319/0.903, allocations: 1.277 MB / 0.8592 GB, free: 4.973 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001556/0.9046, allocations: 327.2 kB / 0.8595 GB, free: 4.648 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.905, allocations: 103.4 kB / 0.8596 GB, free: 4.551 MB / 0.67 GB Notification: Performance of SimCode: time 7.71e-07/0.905, allocations: 0 / 0.8596 GB, free: 4.551 MB / 0.67 GB Notification: Performance of Templates: time 0.3664/1.271, allocations: 27.67 MB / 0.8867 GB, free: 212.9 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)