Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 105.5 kB / 16.41 MB, free: 6.492 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.001115/0.001115, allocations: 187 kB / 17.34 MB, free: 5.762 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.769/0.769, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.16 kB / 0.5821 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1632, allocations: 80.21 MB / 0.6605 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified5): time 0.7463/0.9095, allocations: 355.6 MB / 1.008 GB, free: 3.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.6433/1.553, allocations: 72.82 MB / 1.079 GB, free: 36.92 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01935/1.572, allocations: 426.9 kB / 1.079 GB, free: 36.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01507/1.587, allocations: 4.65 MB / 1.084 GB, free: 36.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.03751/1.625, allocations: 11.08 MB / 1.095 GB, free: 36.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02129/1.646, allocations: 7.878 MB / 1.102 GB, free: 36.36 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.04229/1.689, allocations: 29.25 MB / 1.131 GB, free: 36.22 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02645/1.715, allocations: 17.18 MB / 1.148 GB, free: 33.66 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03513/1.75, allocations: 14.53 MB / 1.162 GB, free: 30.2 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02645/1.777, allocations: 13.46 MB / 1.175 GB, free: 23.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.007882/1.785, allocations: 1.516 MB / 1.176 GB, free: 22.33 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02065/1.805, allocations: 4.771 MB / 1.181 GB, free: 18.61 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.008834/1.814, allocations: 4.749 MB / 1.186 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.02118/1.835, allocations: 8.559 MB / 1.194 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.03959/1.875, allocations: 23.67 MB / 1.217 GB, free: 1 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/1.875, allocations: 0 / 1.217 GB, free: 1 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.754e-06/1.875, allocations: 0 / 1.217 GB, free: 1 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0007498/1.876, allocations: 0 / 1.217 GB, free: 1 MB / 0.8262 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.05362/1.93, allocations: 18.49 MB / 1.235 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/1.93, allocations: 12.03 kB / 1.235 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/1.943, allocations: 2.262 MB / 1.238 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0307/1.973, allocations: 12.91 MB / 1.25 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007026/1.974, allocations: 0.5141 MB / 1.251 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003772/1.978, allocations: 0.6875 MB / 1.251 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03537/2.013, allocations: 14.01 MB / 1.265 GB, free: 252 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003554/2.014, allocations: 11.92 kB / 1.265 GB, free: 240 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004463/2.018, allocations: 240 kB / 1.265 GB, free: 0 / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/2.019, allocations: 152 kB / 1.265 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03591/2.054, allocations: 18.89 MB / 1.284 GB, free: 12.95 MB / 0.9044 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.1235/2.178, allocations: 72.22 MB / 1.354 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01834/2.196, allocations: 10.46 MB / 1.365 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01466/2.211, allocations: 9.02 MB / 1.373 GB, free: 14.81 MB / 0.9981 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.0666/2.278, allocations: 30.56 MB / 1.403 GB, free: 0 / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01718/2.295, allocations: 8.794 MB / 1.412 GB, free: 7.168 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02088/2.316, allocations: 5.781 MB / 1.417 GB, free: 1.555 MB / 1.029 GB Notification: Performance of pre-optimization done (n=383): time 3.256e-05/2.316, allocations: 0 / 1.417 GB, free: 1.555 MB / 1.029 GB Notification: Performance of matching and sorting (n=569): time 1.7/4.016, allocations: 205.1 MB / 1.618 GB, free: 371.2 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/4.016, allocations: 115.8 kB / 1.618 GB, free: 371 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02318/4.039, allocations: 12.63 MB / 1.63 GB, free: 358.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.003558/4.043, allocations: 169.7 kB / 1.63 GB, free: 358.3 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.006695/4.05, allocations: 5.922 MB / 1.636 GB, free: 352.6 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.004502/4.054, allocations: 1.915 MB / 1.638 GB, free: 350.7 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01072/4.065, allocations: 2.39 MB / 1.64 GB, free: 348.3 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 4.51e-05/4.065, allocations: 305.1 kB / 1.641 GB, free: 348 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01749/4.083, allocations: 10.06 MB / 1.65 GB, free: 338 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01986/4.102, allocations: 12.26 MB / 1.662 GB, free: 324.8 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03819/4.141, allocations: 21.92 MB / 1.684 GB, free: 302.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.877e-05/4.141, allocations: 12 kB / 1.684 GB, free: 302.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=954) (initialization): time 0.6089/4.75, allocations: 125.9 MB / 1.807 GB, free: 176.1 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/4.75, allocations: 57.69 kB / 1.807 GB, free: 176.1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.522e-05/4.75, allocations: 44 kB / 1.807 GB, free: 176 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6296/5.38, allocations: 136.4 MB / 1.94 GB, free: 39.67 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/5.39, allocations: 1.892 MB / 1.942 GB, free: 37.78 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6074/5.997, allocations: 99.54 MB / 2.039 GB, free: 452.4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01642/6.014, allocations: 0.8418 MB / 2.04 GB, free: 452 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004109/6.018, allocations: 0.7682 MB / 2.041 GB, free: 451.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02479/6.043, allocations: 12.31 MB / 2.053 GB, free: 444.9 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01901/6.062, allocations: 11.81 MB / 2.064 GB, free: 437 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0355/6.097, allocations: 21.03 MB / 2.085 GB, free: 420.7 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.016e-05/6.097, allocations: 14.84 kB / 2.085 GB, free: 420.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=954) (initialization_lambda0): time 0.6057/6.703, allocations: 124.5 MB / 2.206 GB, free: 297.7 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/6.703, allocations: 54.64 kB / 2.206 GB, free: 297.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.562e-05/6.703, allocations: 48 kB / 2.206 GB, free: 297.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6316/7.335, allocations: 136.1 MB / 2.339 GB, free: 161.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009511/7.344, allocations: 1.864 MB / 2.341 GB, free: 160 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2018/7.546, allocations: 104.2 MB / 2.443 GB, free: 55.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01716/7.563, allocations: 0.8622 MB / 2.444 GB, free: 54.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004089/7.568, allocations: 0.7372 MB / 2.445 GB, free: 53.99 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (675): * Single equations (assignments): 661 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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): 1 system {(34,41,81.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.004749/7.572, allocations: 0.5909 MB / 2.445 GB, free: 53.39 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00535/7.578, allocations: 1.204 MB / 2.446 GB, free: 52.54 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6961/8.274, allocations: 52.37 MB / 2.497 GB, free: 465.5 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001618/8.274, allocations: 77.28 kB / 2.498 GB, free: 465.5 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001429/8.274, allocations: 34.09 kB / 2.498 GB, free: 465.5 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.197/8.471, allocations: 46.83 MB / 2.543 GB, free: 461.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2232/8.694, allocations: 66.35 MB / 2.608 GB, free: 415.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.283e-05/8.695, allocations: 4 kB / 2.608 GB, free: 415.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006788/8.701, allocations: 1.299 MB / 2.609 GB, free: 414.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1959/8.897, allocations: 47.11 MB / 2.655 GB, free: 367.6 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002385/8.9, allocations: 191.9 kB / 2.656 GB, free: 367.4 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07896/8.979, allocations: 45.15 MB / 2.7 GB, free: 322.2 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/8.979, allocations: 11.94 kB / 2.7 GB, free: 322.1 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2037/9.182, allocations: 59.38 MB / 2.758 GB, free: 263.3 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01001/9.193, allocations: 2.542 MB / 2.76 GB, free: 261.2 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005454/9.198, allocations: 128 kB / 2.76 GB, free: 261.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01328/9.211, allocations: 0.6553 MB / 2.761 GB, free: 260.4 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003311/9.215, allocations: 493.4 kB / 2.761 GB, free: 260 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001125/9.216, allocations: 271.8 kB / 2.762 GB, free: 259.7 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0159/9.232, allocations: 8.605 MB / 2.77 GB, free: 251.1 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.154e-06/9.232, allocations: 0 / 2.77 GB, free: 251.1 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.03475/9.267, allocations: 6.673 MB / 2.777 GB, free: 244.6 MB / 1.045 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 (496): * Single equations (assignments): 474 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 4 * 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): 1 system {(36,39,75.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,80), (1,1), (5,80)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004831/9.271, allocations: 1.339 MB / 2.778 GB, free: 243.4 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0886/9.36, allocations: 38.84 MB / 2.816 GB, free: 204.5 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/9.36, allocations: 0 / 2.816 GB, free: 204.5 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.02437/9.384, allocations: 11.11 MB / 2.827 GB, free: 193.4 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03437/9.419, allocations: 5.991 MB / 2.833 GB, free: 187.7 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05598/9.475, allocations: 27.56 MB / 2.859 GB, free: 160 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009839/9.485, allocations: 6.953 MB / 2.866 GB, free: 153 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005955/9.491, allocations: 0.995 MB / 2.867 GB, free: 152 MB / 1.045 GB Notification: Performance of SimCode: time 1.664e-06/9.491, allocations: 0 / 2.867 GB, free: 152 MB / 1.045 GB Notification: Performance of Templates: time 1.79/11.28, allocations: 0.7664 GB / 3.634 GB, free: 360.9 MB / 1.045 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)