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.0007967/0.0007966, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0008323/0.0008324, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7367/0.7367, allocations: 132.3 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002808, allocations: 8 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3467, allocations: 81.57 MB / 0.5831 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified6): time 0.5611/0.9079, allocations: 328.7 MB / 0.904 GB, free: 54.97 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.07193/0.9799, allocations: 68.56 MB / 0.971 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01155/0.9915, allocations: 361.6 kB / 0.9713 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.009047/1.001, allocations: 3.144 MB / 0.9744 GB, free: 22 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02112/1.022, allocations: 8.887 MB / 0.9831 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01349/1.035, allocations: 6.032 MB / 0.989 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.03365/1.069, allocations: 32.78 MB / 1.021 GB, free: 6.27 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01699/1.086, allocations: 13.14 MB / 1.034 GB, free: 9.043 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02006/1.106, allocations: 10.19 MB / 1.044 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01492/1.121, allocations: 9.111 MB / 1.053 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002492/1.123, allocations: 0.5 MB / 1.053 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009859/1.133, allocations: 2.866 MB / 1.056 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003234/1.137, allocations: 2.91 MB / 1.059 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004715/1.141, allocations: 2.647 MB / 1.061 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01619/1.157, allocations: 14.58 MB / 1.076 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/1.158, allocations: 0 / 1.076 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.376e-06/1.158, allocations: 0 / 1.076 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003982/1.158, allocations: 11.88 kB / 1.076 GB, free: 14.08 MB / 0.7325 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.02446/1.182, allocations: 13.93 MB / 1.089 GB, free: 16 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/1.182, allocations: 12.03 kB / 1.089 GB, free: 4 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006954/1.189, allocations: 2.232 MB / 1.091 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01918/1.209, allocations: 11.15 MB / 1.102 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001447/1.21, allocations: 0.7794 MB / 1.103 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/1.211, allocations: 0.6875 MB / 1.104 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4961/1.707, allocations: 8.946 MB / 1.112 GB, free: 298.5 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/1.707, allocations: 15.34 kB / 1.113 GB, free: 298.5 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005944/1.708, allocations: 252.3 kB / 1.113 GB, free: 298.3 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/1.708, allocations: 154.3 kB / 1.113 GB, free: 298.3 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/1.721, allocations: 7.425 MB / 1.12 GB, free: 295.8 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.05226/1.774, allocations: 50.54 MB / 1.17 GB, free: 254.9 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007794/1.781, allocations: 5.53 MB / 1.175 GB, free: 252.1 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005223/1.787, allocations: 3.995 MB / 1.179 GB, free: 250.3 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.02065/1.807, allocations: 13.48 MB / 1.192 GB, free: 237.7 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004773/1.812, allocations: 3.731 MB / 1.196 GB, free: 234 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006088/1.818, allocations: 1.856 MB / 1.197 GB, free: 232.3 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=320): time 6.783e-06/1.818, allocations: 0 / 1.197 GB, free: 232.3 MB / 0.7482 GB Notification: Performance of matching and sorting (n=506): time 0.1433/1.962, allocations: 53.65 MB / 1.25 GB, free: 178.3 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/1.962, allocations: 111.3 kB / 1.25 GB, free: 178.1 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01452/1.976, allocations: 12.7 MB / 1.262 GB, free: 165.5 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.001199/1.977, allocations: 161.7 kB / 1.262 GB, free: 165.4 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.004022/1.981, allocations: 6.173 MB / 1.269 GB, free: 159.2 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/1.983, allocations: 1.708 MB / 1.27 GB, free: 157.5 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005405/1.984, allocations: 143.5 kB / 1.27 GB, free: 157.4 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0002258/1.984, allocations: 0.5925 MB / 1.271 GB, free: 156.8 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008805/1.993, allocations: 5.155 MB / 1.276 GB, free: 151.6 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01001/2.003, allocations: 7.804 MB / 1.284 GB, free: 142.7 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009719/2.012, allocations: 5.872 MB / 1.289 GB, free: 136.7 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-05/2.012, allocations: 19.95 kB / 1.289 GB, free: 136.7 MB / 0.7482 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.03272/2.045, allocations: 17.21 MB / 1.306 GB, free: 119.4 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006127/2.046, allocations: 1.932 MB / 1.308 GB, free: 116.7 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.877e-05/2.046, allocations: 64 kB / 1.308 GB, free: 116.6 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/2.059, allocations: 4.643 MB / 1.313 GB, free: 111.9 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009319/2.068, allocations: 2.048 MB / 1.315 GB, free: 109.9 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009282/2.077, allocations: 10.91 MB / 1.325 GB, free: 98.79 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/2.088, allocations: 1.224 MB / 1.326 GB, free: 97.57 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008343/2.089, allocations: 467.7 kB / 1.327 GB, free: 97.11 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/2.089, allocations: 4 kB / 1.327 GB, free: 97.11 MB / 0.7482 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02755/2.117, allocations: 16.1 MB / 1.343 GB, free: 80.94 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.521e-05/2.117, allocations: 60 kB / 1.343 GB, free: 80.88 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/2.127, allocations: 4.38 MB / 1.347 GB, free: 76.49 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008093/2.135, allocations: 2.028 MB / 1.349 GB, free: 74.46 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.018/2.153, allocations: 15.05 MB / 1.364 GB, free: 59.08 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/2.164, allocations: 1.213 MB / 1.365 GB, free: 57.87 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000835/2.165, allocations: 435.8 kB / 1.365 GB, free: 57.44 MB / 0.7482 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,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * 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 (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 80,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.004764/2.17, allocations: 3.123 MB / 1.368 GB, free: 54.3 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00178/2.172, allocations: 1.207 MB / 1.369 GB, free: 53.08 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02778/2.199, allocations: 14.97 MB / 1.384 GB, free: 38.02 MB / 0.7482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-05/2.199, allocations: 67.94 kB / 1.384 GB, free: 37.96 MB / 0.7482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/2.199, allocations: 4 kB / 1.384 GB, free: 37.95 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02224/2.222, allocations: 12.29 MB / 1.396 GB, free: 25.55 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 postOpt removeSimpleEquations (simulation): time 0.3057/2.527, allocations: 26.39 MB / 1.422 GB, free: 273 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-05/2.528, allocations: 8.406 kB / 1.422 GB, free: 273 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006633/2.534, allocations: 1.239 MB / 1.423 GB, free: 273 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01015/2.544, allocations: 3.27 MB / 1.426 GB, free: 272.9 MB / 0.7482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007724/2.545, allocations: 173.7 kB / 1.426 GB, free: 272.9 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008483/2.554, allocations: 9.58 MB / 1.436 GB, free: 268.1 MB / 0.7482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/2.554, allocations: 15.33 kB / 1.436 GB, free: 268.1 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0356/2.589, allocations: 20.22 MB / 1.456 GB, free: 261.4 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005407/2.595, allocations: 2.335 MB / 1.458 GB, free: 260.9 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001984/2.597, allocations: 111.4 kB / 1.458 GB, free: 260.8 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00812/2.605, allocations: 1.035 MB / 1.459 GB, free: 260.7 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006337/2.605, allocations: 401.7 kB / 1.459 GB, free: 260.6 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004824/2.606, allocations: 244.9 kB / 1.46 GB, free: 260.6 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.0112/2.617, allocations: 8.573 MB / 1.468 GB, free: 257.8 MB / 0.7482 GB Notification: Performance of sort global known variables: time 4.11e-07/2.617, allocations: 0 / 1.468 GB, free: 257.8 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.02312/2.64, allocations: 5.454 MB / 1.473 GB, free: 257.4 MB / 0.7482 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 (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.002352/2.643, allocations: 1.264 MB / 1.475 GB, free: 257.1 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.03525/2.678, allocations: 19.95 MB / 1.494 GB, free: 244.4 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/2.678, allocations: 0 / 1.494 GB, free: 244.4 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.01027/2.688, allocations: 5.7 MB / 1.5 GB, free: 238.8 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02552/2.714, allocations: 5.983 MB / 1.505 GB, free: 233.3 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03784/2.752, allocations: 28.29 MB / 1.533 GB, free: 205.1 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005413/2.757, allocations: 6.859 MB / 1.54 GB, free: 198.2 MB / 0.7482 GB Notification: Performance of simCode: alias equations: time 0.01551/2.773, allocations: 3.828 MB / 1.543 GB, free: 194.4 MB / 0.7482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003087/2.776, allocations: 0.9209 MB / 1.544 GB, free: 193.5 MB / 0.7482 GB Notification: Performance of SimCode: time 5.51e-07/2.776, allocations: 0 / 1.544 GB, free: 193.5 MB / 0.7482 GB Notification: Performance of Templates: time 0.5729/3.349, allocations: 248 MB / 1.787 GB, free: 224.6 MB / 0.7482 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)