Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.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.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007937/0.000794, allocations: 98.03 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.006496/0.006497, allocations: 169.3 kB / 16.26 MB, free: 6.656 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7509/0.7509, allocations: 132.4 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003319, allocations: 13.88 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4216, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified6): time 0.6869/1.109, allocations: 348.2 MB / 0.9237 GB, free: 45.3 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.08874/1.197, allocations: 72.28 MB / 0.9942 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01557/1.213, allocations: 377.5 kB / 0.9946 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0155/1.228, allocations: 3.859 MB / 0.9984 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.04042/1.269, allocations: 10.27 MB / 1.008 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02357/1.293, allocations: 7.162 MB / 1.015 GB, free: 12.44 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04619/1.339, allocations: 38.31 MB / 1.053 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02573/1.364, allocations: 14.07 MB / 1.067 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02794/1.392, allocations: 10.67 MB / 1.077 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01874/1.411, allocations: 9.474 MB / 1.086 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.004279/1.416, allocations: 0.4922 MB / 1.087 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01417/1.43, allocations: 3.63 MB / 1.09 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00549/1.435, allocations: 2.967 MB / 1.093 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.016/1.451, allocations: 6.667 MB / 1.1 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.7993/2.251, allocations: 18.39 MB / 1.118 GB, free: 62.24 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/2.251, allocations: 4.047 kB / 1.118 GB, free: 62.24 MB / 0.7482 GB Notification: Performance of FrontEnd: time 2.535e-06/2.251, allocations: 0 / 1.118 GB, free: 62.24 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.0008524/2.251, allocations: 0 / 1.118 GB, free: 62.24 MB / 0.7482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.04035/2.292, allocations: 13.76 MB / 1.131 GB, free: 56.45 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/2.292, allocations: 10.78 kB / 1.131 GB, free: 56.45 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/2.304, allocations: 2.229 MB / 1.133 GB, free: 55.66 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02902/2.333, allocations: 11.65 MB / 1.145 GB, free: 53.39 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00184/2.335, allocations: 0.781 MB / 1.145 GB, free: 53.35 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003545/2.339, allocations: 0.6865 MB / 1.146 GB, free: 53.35 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02316/2.362, allocations: 8.996 MB / 1.155 GB, free: 52.28 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/2.362, allocations: 14.41 kB / 1.155 GB, free: 52.28 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001115/2.363, allocations: 254.2 kB / 1.155 GB, free: 52.28 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/2.363, allocations: 152.2 kB / 1.155 GB, free: 52.28 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/2.381, allocations: 7.468 MB / 1.163 GB, free: 52.19 MB / 0.7482 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.07665/2.457, allocations: 50.51 MB / 1.212 GB, free: 20.21 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/2.468, allocations: 5.544 MB / 1.217 GB, free: 19.28 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006801/2.475, allocations: 3.965 MB / 1.221 GB, free: 18.66 MB / 0.7482 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 evalFunc (simulation): time 0.03172/2.506, allocations: 13.43 MB / 1.234 GB, free: 10.79 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006135/2.513, allocations: 3.738 MB / 1.238 GB, free: 8.074 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009456/2.522, allocations: 1.865 MB / 1.24 GB, free: 6.352 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=320): time 1.858e-05/2.522, allocations: 0 / 1.24 GB, free: 6.352 MB / 0.7482 GB Notification: Performance of matching and sorting (n=506): time 0.1904/2.713, allocations: 54.08 MB / 1.293 GB, free: 7.75 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/2.713, allocations: 103.4 kB / 1.293 GB, free: 7.637 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02791/2.741, allocations: 12.79 MB / 1.305 GB, free: 13.5 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001974/2.743, allocations: 165.7 kB / 1.305 GB, free: 13.33 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.008196/2.751, allocations: 6.151 MB / 1.311 GB, free: 7.191 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.002652/2.754, allocations: 1.715 MB / 1.313 GB, free: 5.492 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001884/2.755, allocations: 0.6704 MB / 1.314 GB, free: 4.816 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 8.458e-05/2.756, allocations: 305.1 kB / 1.314 GB, free: 4.516 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01299/2.769, allocations: 5.861 MB / 1.32 GB, free: 14.65 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01622/2.785, allocations: 8.457 MB / 1.328 GB, free: 5.137 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02872/2.814, allocations: 13.66 MB / 1.341 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-05/2.814, allocations: 16 kB / 1.341 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.0501/2.864, allocations: 18.75 MB / 1.36 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.001431/2.865, allocations: 1.932 MB / 1.361 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/2.865, allocations: 60 kB / 1.362 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0167/2.882, allocations: 4.803 MB / 1.366 GB, free: 12.85 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01176/2.894, allocations: 2.031 MB / 1.368 GB, free: 10.91 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/2.908, allocations: 10.93 MB / 1.379 GB, free: 15.82 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01539/2.923, allocations: 1.205 MB / 1.38 GB, free: 14.62 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002297/2.926, allocations: 471.7 kB / 1.38 GB, free: 14.16 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/2.926, allocations: 0 / 1.38 GB, free: 14.16 MB / 0.8888 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04015/2.966, allocations: 16.19 MB / 1.396 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/2.966, allocations: 59.94 kB / 1.396 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01363/2.98, allocations: 4.374 MB / 1.401 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01036/2.99, allocations: 2.017 MB / 1.403 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/3.017, allocations: 15.44 MB / 1.418 GB, free: 8.301 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0157/3.033, allocations: 1.202 MB / 1.419 GB, free: 7.094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002214/3.035, allocations: 435.5 kB / 1.419 GB, free: 6.672 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 735 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * 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): 6 systems {1, 1, 1, 1, 1, 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): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.00991/3.045, allocations: 3.12 MB / 1.422 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004009/3.049, allocations: 1.203 MB / 1.423 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.363/3.412, allocations: 15 MB / 1.438 GB, free: 452.1 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001402/3.412, allocations: 68.03 kB / 1.438 GB, free: 452 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.774e-05/3.412, allocations: 5.484 kB / 1.438 GB, free: 452 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03324/3.446, allocations: 12.34 MB / 1.45 GB, free: 448.1 MB / 0.92 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.06514/3.511, allocations: 26.43 MB / 1.476 GB, free: 438.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.321e-05/3.511, allocations: 7.781 kB / 1.476 GB, free: 438.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006983/3.518, allocations: 1.237 MB / 1.477 GB, free: 438.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0104/3.528, allocations: 3.278 MB / 1.48 GB, free: 437.9 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001312/3.53, allocations: 177.1 kB / 1.481 GB, free: 437.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008882/3.539, allocations: 9.596 MB / 1.49 GB, free: 430.3 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/3.539, allocations: 12.03 kB / 1.49 GB, free: 430.3 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04327/3.582, allocations: 20.3 MB / 1.51 GB, free: 411.3 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009404/3.591, allocations: 2.328 MB / 1.512 GB, free: 409.6 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004781/3.596, allocations: 104 kB / 1.512 GB, free: 409.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01241/3.609, allocations: 1.036 MB / 1.513 GB, free: 408.6 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001326/3.61, allocations: 394 kB / 1.514 GB, free: 408.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008942/3.611, allocations: 239.8 kB / 1.514 GB, free: 408 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.01561/3.626, allocations: 8.675 MB / 1.522 GB, free: 399.3 MB / 0.92 GB Notification: Performance of sort global known variables: time 8.22e-07/3.626, allocations: 0 / 1.522 GB, free: 399.3 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.03055/3.657, allocations: 5.43 MB / 1.528 GB, free: 394 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 420 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 3 * 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): 5 systems {1, 1, 1, 1, 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): 3 systems {(9,78), (1,1), (8,77)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003295/3.66, allocations: 1.302 MB / 1.529 GB, free: 393 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0411/3.701, allocations: 20.7 MB / 1.549 GB, free: 372.4 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/3.701, allocations: 4 kB / 1.549 GB, free: 372.4 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01207/3.714, allocations: 5.712 MB / 1.555 GB, free: 366.6 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04752/3.761, allocations: 5.931 MB / 1.56 GB, free: 361 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04352/3.805, allocations: 29.58 MB / 1.589 GB, free: 331.3 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007291/3.812, allocations: 6.863 MB / 1.596 GB, free: 324.4 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0156/3.828, allocations: 3.828 MB / 1.6 GB, free: 320.6 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003405/3.831, allocations: 0.9053 MB / 1.601 GB, free: 319.7 MB / 0.92 GB Notification: Performance of SimCode: time 1.232e-06/3.831, allocations: 0 / 1.601 GB, free: 319.7 MB / 0.92 GB Notification: Performance of Templates: time 0.3505/4.182, allocations: 254.6 MB / 1.849 GB, free: 66.82 MB / 0.92 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)