Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7087/0.7087, allocations: 133.4 MB / 146.7 MB, free: 10.76 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008942/0.0008944, allocations: 85.64 kB / 483.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.286e-05/4.289e-05, allocations: 7.516 kB / 0.56 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1916, allocations: 82.3 MB / 0.6404 GB, free: 7.832 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.391/1.582, allocations: 426 MB / 1.056 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/1.583, allocations: 92.52 kB / 1.057 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 47.96/49.54, allocations: 10.71 GB / 11.76 GB, free: 23.63 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.495e-06/49.54, allocations: 0 / 11.76 GB, free: 23.63 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.003762/49.54, allocations: 351.7 kB / 11.76 GB, free: 23.29 MB / 0.9636 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.05975/49.6, allocations: 11.1 MB / 11.77 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.128e-05/49.6, allocations: 8.031 kB / 11.77 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01574/49.62, allocations: 2.089 MB / 11.78 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.073/51.69, allocations: 18.38 MB / 11.79 GB, free: 46.89 MB / 0.9637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001304/51.69, allocations: 0.5308 MB / 11.79 GB, free: 46.88 MB / 0.9637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003779/51.69, allocations: 0.7081 MB / 11.8 GB, free: 46.88 MB / 0.9637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/51.72, allocations: 8.293 MB / 11.8 GB, free: 45.81 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002106/51.72, allocations: 17.81 kB / 11.8 GB, free: 45.81 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001274/51.72, allocations: 255.8 kB / 11.8 GB, free: 45.81 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/51.72, allocations: 156.5 kB / 11.8 GB, free: 45.81 MB / 0.9637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/51.74, allocations: 6.616 MB / 11.81 GB, free: 45.77 MB / 0.9637 GB Warning: The model contains alias variables with conflicting start and/or 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.09728/51.84, allocations: 49.92 MB / 11.86 GB, free: 35.35 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008585/51.85, allocations: 4.659 MB / 11.86 GB, free: 35.2 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005701/51.85, allocations: 3.609 MB / 11.87 GB, free: 35.14 MB / 0.9793 GB Warning: The model contains alias variables with conflicting start and/or 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.04628/51.9, allocations: 13.72 MB / 11.88 GB, free: 32.18 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006699/51.9, allocations: 3.239 MB / 11.88 GB, free: 32.07 MB / 0.9793 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01494/51.92, allocations: 2.397 MB / 11.89 GB, free: 31.88 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=326): time 3.9e-05/51.92, allocations: 3.094 kB / 11.89 GB, free: 31.88 MB / 0.9793 GB Notification: Performance of matching and sorting (n=514): time 0.129/52.05, allocations: 36.89 MB / 11.92 GB, free: 24.62 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/52.05, allocations: 108.5 kB / 11.92 GB, free: 24.55 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03393/52.08, allocations: 12.21 MB / 11.93 GB, free: 23.76 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.002576/52.09, allocations: 174.9 kB / 11.93 GB, free: 23.73 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01012/52.1, allocations: 6.232 MB / 11.94 GB, free: 22.27 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.003269/52.1, allocations: 1.736 MB / 11.94 GB, free: 21.16 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/52.1, allocations: 139.6 kB / 11.94 GB, free: 21.16 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0005589/52.1, allocations: 0.5951 MB / 11.94 GB, free: 20.84 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007109/52.11, allocations: 3.919 MB / 11.95 GB, free: 20.83 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01092/52.12, allocations: 6.842 MB / 11.95 GB, free: 17.48 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/52.13, allocations: 4.717 MB / 11.96 GB, free: 17.31 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000152/52.13, allocations: 21.83 kB / 11.96 GB, free: 17.31 MB / 0.9793 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.03782/52.17, allocations: 13.92 MB / 11.97 GB, free: 16.26 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.01623/52.18, allocations: 38.59 MB / 12.01 GB, free: 8.414 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003663/52.18, allocations: 64.11 kB / 12.01 GB, free: 8.41 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008201/52.19, allocations: 3.395 MB / 12.01 GB, free: 8.324 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01213/52.2, allocations: 1.87 MB / 12.01 GB, free: 8.324 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/52.22, allocations: 12.32 MB / 12.03 GB, free: 17.59 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02194/52.24, allocations: 1.207 MB / 12.03 GB, free: 17.54 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004344/52.25, allocations: 491.8 kB / 12.03 GB, free: 17.54 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/52.25, allocations: 4.062 kB / 12.03 GB, free: 17.54 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02824/52.27, allocations: 12.9 MB / 12.04 GB, free: 17.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002511/52.27, allocations: 58.25 kB / 12.04 GB, free: 17.18 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008369/52.28, allocations: 3.651 MB / 12.04 GB, free: 17.1 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009889/52.29, allocations: 1.861 MB / 12.05 GB, free: 17.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02717/52.32, allocations: 16.61 MB / 12.06 GB, free: 11.52 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01944/52.34, allocations: 1.19 MB / 12.06 GB, free: 11.47 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002582/52.34, allocations: 442.6 kB / 12.06 GB, free: 11.47 MB / 1.026 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,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 725 * 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: 6 * 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: 6 {1 4,1 2,1 2,1 2,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.003006/52.34, allocations: 0.5432 MB / 12.06 GB, free: 11.32 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004444/52.35, allocations: 1.215 MB / 12.07 GB, free: 10.65 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02631/52.38, allocations: 12.35 MB / 12.08 GB, free: 10.05 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.292e-05/52.38, allocations: 64.77 kB / 12.08 GB, free: 10.05 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/52.38, allocations: 0 / 12.08 GB, free: 10.05 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01732/52.39, allocations: 9.752 MB / 12.09 GB, free: 9.426 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or 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.05692/52.45, allocations: 24.42 MB / 12.11 GB, free: 7.316 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-05/52.45, allocations: 6.531 kB / 12.11 GB, free: 7.316 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006142/52.46, allocations: 1.163 MB / 12.11 GB, free: 7.316 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00518/52.46, allocations: 2.396 MB / 12.11 GB, free: 7.203 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001151/52.46, allocations: 172.8 kB / 12.11 GB, free: 7.203 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00935/52.47, allocations: 10.99 MB / 12.13 GB, free: 16.48 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/52.47, allocations: 10.38 kB / 12.13 GB, free: 16.48 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02955/52.5, allocations: 19.03 MB / 12.14 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01183/52.51, allocations: 2.574 MB / 12.15 GB, free: 9.449 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005649/52.52, allocations: 112.8 kB / 12.15 GB, free: 9.371 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01654/52.54, allocations: 0.9843 MB / 12.15 GB, free: 9.203 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002046/52.54, allocations: 398.6 kB / 12.15 GB, free: 9.141 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008646/52.54, allocations: 254.2 kB / 12.15 GB, free: 9.098 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.02612/52.56, allocations: 9.279 MB / 12.16 GB, free: 5.816 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.21e-07/52.56, allocations: 3.219 kB / 12.16 GB, free: 5.816 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.04955/52.61, allocations: 6.031 MB / 12.16 GB, free: 1.609 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 416 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * 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: 6 {8 73,1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 1.045/53.66, allocations: 5.008 MB / 12.17 GB, free: 121 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.04063/53.7, allocations: 16.8 MB / 12.18 GB, free: 120.4 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/53.7, allocations: 3.219 kB / 12.18 GB, free: 120.4 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.008961/53.71, allocations: 4.652 MB / 12.19 GB, free: 120.4 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03599/53.75, allocations: 5.899 MB / 12.19 GB, free: 120.3 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05904/53.8, allocations: 19.57 MB / 12.21 GB, free: 116.1 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01838/53.82, allocations: 7.132 MB / 12.22 GB, free: 115.1 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.04051/53.86, allocations: 6.517 MB / 12.23 GB, free: 115 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004784/53.87, allocations: 0.6759 MB / 12.23 GB, free: 115 MB / 1.042 GB Notification: Performance of SimCode: time 1.553e-06/53.87, allocations: 0 / 12.23 GB, free: 115 MB / 1.042 GB Notification: Performance of Templates: time 0.5062/54.37, allocations: 301.3 MB / 12.52 GB, free: 5.953 MB / 1.042 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)