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.0009297/0.0009298, allocations: 97.88 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.005704/0.005704, allocations: 171 kB / 16.27 MB, free: 6.648 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7829/0.7829, allocations: 132.3 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005263/0.0005262, allocations: 8 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.5373, allocations: 81.58 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.ClosedLoop_y): time 0.2547/0.7921, allocations: 200.7 MB / 0.7797 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02612/0.8182, allocations: 13.53 MB / 0.7929 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.8207, allocations: 51.69 kB / 0.7929 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002892/0.8237, allocations: 0.8046 MB / 0.7937 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008163/0.8318, allocations: 2.306 MB / 0.796 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004904/0.8368, allocations: 1.393 MB / 0.7973 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007118/0.8439, allocations: 4.796 MB / 0.802 GB, free: 136 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002951/0.8469, allocations: 1.167 MB / 0.8031 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005509/0.8524, allocations: 1.712 MB / 0.8048 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003234/0.8556, allocations: 1.118 MB / 0.8059 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004633/0.8561, allocations: 60 kB / 0.806 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006473/0.8626, allocations: 2.568 MB / 0.8085 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001458/0.8641, allocations: 494.3 kB / 0.8089 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002612/0.8667, allocations: 0.8136 MB / 0.8097 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007888/0.8746, allocations: 3.248 MB / 0.8129 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8747, allocations: 0 / 0.8129 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8747, allocations: 0 / 0.8129 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001085/0.8748, allocations: 0 / 0.8129 GB, free: 4.898 MB / 0.6387 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.00521/0.88, allocations: 1.898 MB / 0.8148 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.8801, allocations: 8.031 kB / 0.8148 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.8833, allocations: 449.4 kB / 0.8152 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003321/0.8866, allocations: 1.327 MB / 0.8165 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.8868, allocations: 78 kB / 0.8166 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.8871, allocations: 108 kB / 0.8167 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3414/1.228, allocations: 1.155 MB / 0.8178 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.644e-05/1.229, allocations: 7.812 kB / 0.8178 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/1.229, allocations: 39.19 kB / 0.8178 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.721e-05/1.229, allocations: 37.77 kB / 0.8179 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/1.231, allocations: 0.9117 MB / 0.8188 GB, free: 220 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.007544/1.239, allocations: 4.866 MB / 0.8235 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/1.241, allocations: 0.7558 MB / 0.8243 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009081/1.242, allocations: 428.1 kB / 0.8247 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/1.242, allocations: 102.2 kB / 0.8248 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/1.243, allocations: 478.1 kB / 0.8252 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007891/1.244, allocations: 81.66 kB / 0.8253 GB, free: 216 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 3.116e-06/1.244, allocations: 0.9844 kB / 0.8253 GB, free: 216 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.003569/1.247, allocations: 1.238 MB / 0.8265 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.247, allocations: 61.5 kB / 0.8266 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/1.249, allocations: 1.169 MB / 0.8277 GB, free: 215 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-05/1.249, allocations: 42.39 kB / 0.8277 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/1.25, allocations: 0.656 MB / 0.8284 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/1.25, allocations: 245 kB / 0.8286 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/1.25, allocations: 80.31 kB / 0.8287 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/1.251, allocations: 340 kB / 0.829 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008605/1.251, allocations: 377.8 kB / 0.8294 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008854/1.252, allocations: 0.6184 MB / 0.83 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/1.254, allocations: 0.987 MB / 0.8309 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.254, allocations: 2.438 kB / 0.8309 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002792/1.257, allocations: 1.255 MB / 0.8322 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/1.257, allocations: 277.2 kB / 0.8324 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/1.257, allocations: 10.52 kB / 0.8324 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005016/1.258, allocations: 120.5 kB / 0.8326 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/1.259, allocations: 208.6 kB / 0.8328 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008344/1.259, allocations: 1.221 MB / 0.834 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/1.261, allocations: 93.48 kB / 0.834 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/1.261, allocations: 46.12 kB / 0.8341 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.261, allocations: 3.281 kB / 0.8341 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002071/1.263, allocations: 1.035 MB / 0.8351 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.263, allocations: 9.438 kB / 0.8351 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005653/1.263, allocations: 148.5 kB / 0.8353 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007604/1.264, allocations: 187.5 kB / 0.8354 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004083/1.268, allocations: 2.819 MB / 0.8382 GB, free: 208 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/1.27, allocations: 93.97 kB / 0.8383 GB, free: 208 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.27, allocations: 38.89 kB / 0.8383 GB, free: 208 MB / 0.6387 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.001197/1.272, allocations: 466.3 kB / 0.8388 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/1.272, allocations: 133.9 kB / 0.8389 GB, free: 207.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/1.274, allocations: 0.9404 MB / 0.8398 GB, free: 207 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.274, allocations: 6.469 kB / 0.8398 GB, free: 207 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.274, allocations: 1.062 kB / 0.8398 GB, free: 207 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00166/1.276, allocations: 0.8424 MB / 0.8406 GB, free: 206.5 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 postOpt removeSimpleEquations (simulation): time 0.004274/1.28, allocations: 2.246 MB / 0.8428 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/1.28, allocations: 1 kB / 0.8428 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/1.281, allocations: 168.1 kB / 0.843 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/1.281, allocations: 81.72 kB / 0.8431 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/1.281, allocations: 27.17 kB / 0.8431 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004649/1.282, allocations: 1.191 MB / 0.8443 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/1.282, allocations: 6.656 kB / 0.8443 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/1.284, allocations: 1.41 MB / 0.8456 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004756/1.285, allocations: 280.6 kB / 0.8459 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.285, allocations: 14.25 kB / 0.8459 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008255/1.286, allocations: 82.42 kB / 0.846 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/1.286, allocations: 52.27 kB / 0.846 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/1.286, allocations: 24.98 kB / 0.8461 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001121/1.287, allocations: 0.7974 MB / 0.8468 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.21e-07/1.287, allocations: 0 / 0.8468 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002148/1.289, allocations: 0.7927 MB / 0.8476 GB, free: 202 MB / 0.6387 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.0009053/1.29, allocations: 407.3 kB / 0.848 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002891/1.293, allocations: 1.608 MB / 0.8496 GB, free: 201 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.293, allocations: 4.062 kB / 0.8496 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008032/1.294, allocations: 407.1 kB / 0.85 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/1.297, allocations: 0.6357 MB / 0.8506 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/1.301, allocations: 3.157 MB / 0.8537 GB, free: 198.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007695/1.302, allocations: 1.284 MB / 0.8549 GB, free: 197.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00136/1.303, allocations: 322.8 kB / 0.8552 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/1.304, allocations: 106.8 kB / 0.8553 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of SimCode: time 7.31e-07/1.304, allocations: 0 / 0.8553 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.0412/1.345, allocations: 27.67 MB / 0.8824 GB, free: 169.9 MB / 0.6387 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)