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: "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="IDEAS_dev_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.02161/0.02161, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.253/1.253, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.824/2.824, allocations: 223.2 MB / 406.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 93.02 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006451/0.0006452, allocations: 8 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8301/0.8308, allocations: 82.31 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.64/3.471, allocations: 426.1 MB / 1.066 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005263/3.472, allocations: 103.4 kB / 1.066 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 57.39/60.86, allocations: 10.74 GB / 11.8 GB, free: 44.46 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.256e-06/60.86, allocations: 4 kB / 11.8 GB, free: 44.46 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002954/60.86, allocations: 355.6 kB / 11.8 GB, free: 44.11 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 0.06506/60.93, allocations: 17.54 MB / 11.82 GB, free: 26.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.424e-05/60.93, allocations: 20.02 kB / 11.82 GB, free: 26.41 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004986/60.93, allocations: 0.7784 MB / 11.82 GB, free: 25.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0145/60.95, allocations: 2.091 MB / 11.82 GB, free: 23.51 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06071/61.01, allocations: 18.59 MB / 11.84 GB, free: 4.855 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008329/61.01, allocations: 0.5311 MB / 11.84 GB, free: 4.324 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003667/61.01, allocations: 0.7109 MB / 11.84 GB, free: 3.613 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.027/63.04, allocations: 8.489 MB / 11.85 GB, free: 54.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002485/63.04, allocations: 16.16 kB / 11.85 GB, free: 54.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00171/63.04, allocations: 254.6 kB / 11.85 GB, free: 54.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/63.04, allocations: 151.9 kB / 11.85 GB, free: 54.95 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02102/63.06, allocations: 6.965 MB / 11.86 GB, free: 54.9 MB / 0.948 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.1185/63.18, allocations: 49.93 MB / 11.91 GB, free: 29.21 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/63.2, allocations: 4.911 MB / 11.91 GB, free: 29.05 MB / 0.948 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.04633/63.24, allocations: 13.52 MB / 11.92 GB, free: 26.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006094/63.25, allocations: 3.361 MB / 11.93 GB, free: 26.17 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01589/63.26, allocations: 2.449 MB / 11.93 GB, free: 26.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=327): time 4.855e-05/63.26, allocations: 0.8438 kB / 11.93 GB, free: 26.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=516): time 0.1652/63.43, allocations: 46.77 MB / 11.98 GB, free: 34.46 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/63.43, allocations: 111.6 kB / 11.98 GB, free: 34.39 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02974/63.46, allocations: 12.34 MB / 11.99 GB, free: 33.72 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.002509/63.46, allocations: 176.4 kB / 11.99 GB, free: 33.69 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.009303/63.47, allocations: 6.223 MB / 11.99 GB, free: 32.61 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.003118/63.47, allocations: 1.74 MB / 12 GB, free: 31.72 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007897/63.48, allocations: 141.2 kB / 12 GB, free: 31.72 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.0005712/63.48, allocations: 0.5974 MB / 12 GB, free: 31.41 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01089/63.49, allocations: 4.598 MB / 12 GB, free: 31.39 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01369/63.5, allocations: 7.518 MB / 12.01 GB, free: 28.04 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/63.51, allocations: 5.366 MB / 12.01 GB, free: 27.89 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/63.51, allocations: 15.94 kB / 12.01 GB, free: 27.89 MB / 0.9637 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.04032/63.55, allocations: 15.28 MB / 12.03 GB, free: 26.85 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.01985/63.57, allocations: 38.6 MB / 12.07 GB, free: 19 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003644/63.57, allocations: 57.31 kB / 12.07 GB, free: 19 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008802/63.58, allocations: 3.503 MB / 12.07 GB, free: 18.85 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01173/63.59, allocations: 1.866 MB / 12.07 GB, free: 18.83 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/63.61, allocations: 12.37 MB / 12.08 GB, free: 12.07 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01951/63.63, allocations: 1.208 MB / 12.09 GB, free: 11.97 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002894/63.63, allocations: 492.9 kB / 12.09 GB, free: 11.97 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/63.63, allocations: 7.688 kB / 12.09 GB, free: 11.97 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03718/63.67, allocations: 14.29 MB / 12.1 GB, free: 11.43 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003466/63.67, allocations: 57.56 kB / 12.1 GB, free: 11.43 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009737/63.68, allocations: 3.801 MB / 12.1 GB, free: 11.27 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01036/63.69, allocations: 1.842 MB / 12.11 GB, free: 11.26 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02738/63.72, allocations: 17.35 MB / 12.12 GB, free: 21.45 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0186/63.74, allocations: 1.18 MB / 12.12 GB, free: 21.36 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002685/63.74, allocations: 452.1 kB / 12.12 GB, free: 21.36 MB / 1.011 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (738): * Single equations (assignments): 721 * 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 2,1 4,1 2,1 2,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01107/63.75, allocations: 3.147 MB / 12.13 GB, free: 21.16 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004565/63.75, allocations: 1.211 MB / 12.13 GB, free: 20.49 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03424/63.79, allocations: 13.73 MB / 12.14 GB, free: 19.7 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.619e-05/63.79, allocations: 58.53 kB / 12.14 GB, free: 19.7 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/63.79, allocations: 5.156 kB / 12.14 GB, free: 19.7 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02542/63.81, allocations: 11.07 MB / 12.15 GB, free: 18.95 MB / 1.011 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.06475/63.88, allocations: 25.56 MB / 12.18 GB, free: 14.74 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/63.88, allocations: 10.58 kB / 12.18 GB, free: 14.74 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006557/63.89, allocations: 1.169 MB / 12.18 GB, free: 14.69 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005297/63.89, allocations: 2.384 MB / 12.18 GB, free: 14.1 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/63.89, allocations: 169.3 kB / 12.18 GB, free: 14.02 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009652/63.9, allocations: 10.98 MB / 12.19 GB, free: 5.734 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/63.9, allocations: 11.92 kB / 12.19 GB, free: 5.734 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04743/63.95, allocations: 20.77 MB / 12.21 GB, free: 9.285 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01421/63.96, allocations: 2.587 MB / 12.21 GB, free: 7.059 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005129/63.97, allocations: 112 kB / 12.21 GB, free: 6.949 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01439/63.98, allocations: 0.9777 MB / 12.22 GB, free: 6.281 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001374/63.98, allocations: 396.5 kB / 12.22 GB, free: 6.039 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007873/63.99, allocations: 251 kB / 12.22 GB, free: 5.832 MB / 1.026 GB Notification: Performance of sorting global known variables: time 1.04/65.03, allocations: 9.491 MB / 12.23 GB, free: 125.3 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.352e-06/65.03, allocations: 0 / 12.23 GB, free: 125.3 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.05164/65.08, allocations: 6.039 MB / 12.23 GB, free: 125.3 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 414 * 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 {5 77,1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.06042/65.14, allocations: 25.79 MB / 12.26 GB, free: 119.8 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.05122/65.19, allocations: 18.33 MB / 12.27 GB, free: 119.3 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/65.19, allocations: 3.094 kB / 12.27 GB, free: 119.3 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01328/65.2, allocations: 5.19 MB / 12.28 GB, free: 119.2 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03494/65.24, allocations: 5.875 MB / 12.29 GB, free: 119.1 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1039/65.34, allocations: 81.37 MB / 12.36 GB, free: 57.5 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01832/65.36, allocations: 7.117 MB / 12.37 GB, free: 56.53 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02507/65.39, allocations: 3.869 MB / 12.38 GB, free: 56.35 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01762/65.4, allocations: 6.092 MB / 12.38 GB, free: 56.34 MB / 1.026 GB Notification: Performance of SimCode: time 1.894e-06/65.4, allocations: 0 / 12.38 GB, free: 56.34 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.507/66.91, allocations: 391.1 MB / 12.76 GB, free: 144.3 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/66.91, allocations: 243.6 kB / 12.76 GB, free: 144 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.48/91.39, allocations: 1.094 kB / 12.76 GB, free: 144 MB / 1.042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified6.fmu > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)