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/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: "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 175.2 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.7287/0.7287, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.518/1.518, allocations: 221.3 MB / 400.4 MB, free: 5.77 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.0009804/0.0009803, allocations: 79.97 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.809e-05/3.814e-05, allocations: 11.36 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1519, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.382, allocations: 426 MB / 1.057 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/1.383, allocations: 97 kB / 1.057 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 45.11/46.49, allocations: 10.71 GB / 11.76 GB, free: 7.312 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.094e-06/46.49, allocations: 0 / 11.76 GB, free: 7.312 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003287/46.49, allocations: 347.7 kB / 11.76 GB, free: 6.973 MB / 0.948 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 1.812/48.3, allocations: 11.1 MB / 11.77 GB, free: 34.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.627e-05/48.3, allocations: 9.594 kB / 11.77 GB, free: 34.39 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005564/48.31, allocations: 0.7784 MB / 11.78 GB, free: 34.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01502/48.32, allocations: 2.089 MB / 11.78 GB, free: 33.52 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06024/48.38, allocations: 18.4 MB / 11.8 GB, free: 31.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009748/48.39, allocations: 0.5293 MB / 11.8 GB, free: 31.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003279/48.39, allocations: 0.7111 MB / 11.8 GB, free: 31.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01922/48.41, allocations: 8.294 MB / 11.8 GB, free: 30.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/48.41, allocations: 15.69 kB / 11.8 GB, free: 30.83 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008016/48.41, allocations: 253.7 kB / 11.8 GB, free: 30.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/48.41, allocations: 160.5 kB / 11.81 GB, free: 30.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01252/48.42, allocations: 6.616 MB / 11.81 GB, free: 30.78 MB / 0.948 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.09023/48.51, allocations: 49.91 MB / 11.86 GB, free: 20.12 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/48.52, allocations: 4.66 MB / 11.86 GB, free: 19.97 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008205/48.53, allocations: 3.609 MB / 11.87 GB, free: 19.91 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 evalFunc (simulation): time 0.04307/48.57, allocations: 13.71 MB / 11.88 GB, free: 16.86 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006558/48.58, allocations: 3.246 MB / 11.88 GB, free: 16.75 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01396/48.6, allocations: 2.392 MB / 11.89 GB, free: 16.55 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=326): time 2.609e-05/48.6, allocations: 0 / 11.89 GB, free: 16.55 MB / 0.9637 GB Notification: Performance of matching and sorting (n=514): time 0.1256/48.72, allocations: 36.91 MB / 11.92 GB, free: 25.28 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/48.72, allocations: 106.4 kB / 11.92 GB, free: 25.21 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03372/48.75, allocations: 12.2 MB / 11.94 GB, free: 24.42 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.002362/48.76, allocations: 170.5 kB / 11.94 GB, free: 24.39 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.009194/48.77, allocations: 6.233 MB / 11.94 GB, free: 22.94 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.003053/48.77, allocations: 1.732 MB / 11.94 GB, free: 21.83 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001729/48.77, allocations: 146.3 kB / 11.94 GB, free: 21.83 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0007167/48.77, allocations: 0.5972 MB / 11.94 GB, free: 21.51 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008158/48.78, allocations: 3.917 MB / 11.95 GB, free: 21.5 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/48.79, allocations: 6.846 MB / 11.95 GB, free: 18.14 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009092/48.8, allocations: 4.717 MB / 11.96 GB, free: 17.98 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/48.8, allocations: 14.78 kB / 11.96 GB, free: 17.98 MB / 0.9793 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.03127/48.83, allocations: 13.92 MB / 11.97 GB, free: 16.93 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.01639/48.85, allocations: 38.59 MB / 12.01 GB, free: 9.078 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002459/48.85, allocations: 58.97 kB / 12.01 GB, free: 9.078 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008167/48.86, allocations: 3.398 MB / 12.01 GB, free: 8.992 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01097/48.87, allocations: 1.868 MB / 12.02 GB, free: 8.992 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/48.88, allocations: 12.32 MB / 12.03 GB, free: 2.262 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01708/48.9, allocations: 1.213 MB / 12.03 GB, free: 2.207 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002512/48.9, allocations: 488.4 kB / 12.03 GB, free: 2.207 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/48.9, allocations: 3.312 kB / 12.03 GB, free: 2.207 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02748/48.93, allocations: 12.9 MB / 12.04 GB, free: 1.848 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002977/48.93, allocations: 61.03 kB / 12.04 GB, free: 1.848 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008287/48.94, allocations: 3.663 MB / 12.05 GB, free: 1.762 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009679/48.95, allocations: 1.857 MB / 12.05 GB, free: 1.762 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02801/48.98, allocations: 16.61 MB / 12.06 GB, free: 12.18 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01776/48.99, allocations: 1.187 MB / 12.06 GB, free: 12.13 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003101/49, allocations: 449.4 kB / 12.07 GB, free: 12.13 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.004619/49, allocations: 0.5364 MB / 12.07 GB, free: 11.99 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005759/49.01, allocations: 1.215 MB / 12.07 GB, free: 11.32 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03093/49.04, allocations: 12.35 MB / 12.08 GB, free: 10.71 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.38e-05/49.04, allocations: 62.67 kB / 12.08 GB, free: 10.71 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.926e-05/49.04, allocations: 3.953 kB / 12.08 GB, free: 10.71 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01799/49.06, allocations: 9.748 MB / 12.09 GB, free: 10.1 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.0621/49.12, allocations: 24.42 MB / 12.11 GB, free: 7.914 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.896e-05/49.12, allocations: 5.844 kB / 12.11 GB, free: 7.914 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006515/49.12, allocations: 1.167 MB / 12.11 GB, free: 7.895 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006053/49.13, allocations: 2.393 MB / 12.12 GB, free: 7.727 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001553/49.13, allocations: 177 kB / 12.12 GB, free: 7.723 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/49.14, allocations: 10.99 MB / 12.13 GB, free: 15.99 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/49.14, allocations: 6.75 kB / 12.13 GB, free: 15.99 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03651/49.18, allocations: 19.04 MB / 12.15 GB, free: 5.566 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01153/49.19, allocations: 2.577 MB / 12.15 GB, free: 3.332 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006003/49.2, allocations: 108 kB / 12.15 GB, free: 3.227 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01458/49.21, allocations: 0.991 MB / 12.15 GB, free: 2.531 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001784/49.21, allocations: 394.5 kB / 12.15 GB, free: 2.293 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001493/49.22, allocations: 253.4 kB / 12.15 GB, free: 2.082 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.9173/50.13, allocations: 11.04 MB / 12.16 GB, free: 125.2 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.01e-07/50.13, allocations: 0 / 12.16 GB, free: 125.2 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.04378/50.18, allocations: 6.032 MB / 12.17 GB, free: 125.2 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 0.04015/50.22, allocations: 24.1 MB / 12.19 GB, free: 119.6 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.03339/50.25, allocations: 16.8 MB / 12.21 GB, free: 119 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/50.25, allocations: 3.406 kB / 12.21 GB, free: 119 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.00968/50.26, allocations: 4.661 MB / 12.21 GB, free: 118.9 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03521/50.3, allocations: 5.891 MB / 12.22 GB, free: 118.9 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06227/50.36, allocations: 22.75 MB / 12.24 GB, free: 114.4 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008322/50.37, allocations: 7.141 MB / 12.25 GB, free: 113.4 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.02782/50.39, allocations: 6.512 MB / 12.25 GB, free: 113.3 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009174/50.4, allocations: 5.806 MB / 12.26 GB, free: 113.3 MB / 1.042 GB Notification: Performance of SimCode: time 3.347e-06/50.4, allocations: 0 / 12.26 GB, free: 113.3 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.577/51.98, allocations: 419 MB / 12.67 GB, free: 119.5 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/51.98, allocations: 216.4 kB / 12.67 GB, free: 119.3 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.43/73.41, allocations: 0 / 12.67 GB, free: 119.3 MB / 1.042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified6.fmu > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)