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.0009021/0.0009021, allocations: 174.7 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.6556/0.6556, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.409/1.409, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.0008125/0.0008125, allocations: 99.88 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.94e-05, allocations: 1.938 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1406, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/1.261, allocations: 426 MB / 1.057 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/1.262, allocations: 95.19 kB / 1.057 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 44.41/45.68, allocations: 10.71 GB / 11.76 GB, free: 56 MB / 0.9637 GB Notification: Performance of FrontEnd: time 1.793e-06/45.68, allocations: 0 / 11.76 GB, free: 56 MB / 0.9637 GB Notification: Performance of Transformations before backend: time 0.003362/45.68, allocations: 347 kB / 11.76 GB, free: 56 MB / 0.9637 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.04517/45.72, allocations: 11.1 MB / 11.77 GB, free: 53.97 MB / 0.9637 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/45.72, allocations: 11.95 kB / 11.77 GB, free: 53.97 MB / 0.9637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004021/45.73, allocations: 0.782 MB / 11.78 GB, free: 53.9 MB / 0.9637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/45.74, allocations: 2.082 MB / 11.78 GB, free: 53.11 MB / 0.9637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06048/45.8, allocations: 18.4 MB / 11.8 GB, free: 50.98 MB / 0.9637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007975/45.8, allocations: 0.5293 MB / 11.8 GB, free: 50.97 MB / 0.9637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003016/45.81, allocations: 0.7097 MB / 11.8 GB, free: 50.97 MB / 0.9637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/45.83, allocations: 8.287 MB / 11.8 GB, free: 49.91 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/45.83, allocations: 19.81 kB / 11.8 GB, free: 49.91 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/45.83, allocations: 251.5 kB / 11.8 GB, free: 49.91 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/45.83, allocations: 155.7 kB / 11.81 GB, free: 49.9 MB / 0.9637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/45.84, allocations: 6.622 MB / 11.81 GB, free: 49.86 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.07839/45.92, allocations: 49.92 MB / 11.86 GB, free: 23.18 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007875/45.93, allocations: 4.647 MB / 11.86 GB, free: 23.03 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005895/45.93, allocations: 3.618 MB / 11.87 GB, free: 22.96 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.03767/45.97, allocations: 13.72 MB / 11.88 GB, free: 19.9 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005951/45.98, allocations: 3.242 MB / 11.88 GB, free: 19.79 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0124/45.99, allocations: 2.398 MB / 11.89 GB, free: 19.59 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=326): time 2.644e-05/45.99, allocations: 0 / 11.89 GB, free: 19.59 MB / 0.9637 GB Notification: Performance of matching and sorting (n=514): time 0.1131/46.1, allocations: 36.9 MB / 11.92 GB, free: 28.27 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/46.1, allocations: 103.4 kB / 11.92 GB, free: 28.2 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02659/46.13, allocations: 12.21 MB / 11.94 GB, free: 27.41 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.002262/46.13, allocations: 176.4 kB / 11.94 GB, free: 27.38 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01061/46.14, allocations: 6.225 MB / 11.94 GB, free: 25.93 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.002492/46.15, allocations: 1.736 MB / 11.94 GB, free: 24.82 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/46.15, allocations: 142.6 kB / 11.94 GB, free: 24.82 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0006355/46.15, allocations: 0.5947 MB / 11.94 GB, free: 24.5 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006652/46.15, allocations: 3.924 MB / 11.95 GB, free: 24.49 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008159/46.16, allocations: 6.839 MB / 11.95 GB, free: 21.14 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007771/46.17, allocations: 4.717 MB / 11.96 GB, free: 20.97 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.976e-05/46.17, allocations: 21.5 kB / 11.96 GB, free: 20.97 MB / 0.9793 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.02778/46.2, allocations: 13.91 MB / 11.97 GB, free: 19.92 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.01234/46.21, allocations: 38.6 MB / 12.01 GB, free: 12.07 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001838/46.21, allocations: 62.03 kB / 12.01 GB, free: 12.07 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007403/46.22, allocations: 3.402 MB / 12.01 GB, free: 11.98 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01102/46.23, allocations: 1.868 MB / 12.02 GB, free: 11.98 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/46.24, allocations: 12.31 MB / 12.03 GB, free: 5.254 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01598/46.26, allocations: 1.213 MB / 12.03 GB, free: 5.195 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001849/46.26, allocations: 489.5 kB / 12.03 GB, free: 5.195 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/46.26, allocations: 4.5 kB / 12.03 GB, free: 5.195 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0241/46.28, allocations: 12.91 MB / 12.04 GB, free: 4.836 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002482/46.28, allocations: 61.19 kB / 12.04 GB, free: 4.836 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007543/46.29, allocations: 3.653 MB / 12.05 GB, free: 4.754 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009397/46.3, allocations: 1.857 MB / 12.05 GB, free: 4.754 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02252/46.32, allocations: 16.61 MB / 12.06 GB, free: 15.17 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01544/46.34, allocations: 1.182 MB / 12.06 GB, free: 15.12 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001814/46.34, allocations: 448.4 kB / 12.07 GB, free: 15.12 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.003219/46.34, allocations: 0.5444 MB / 12.07 GB, free: 14.98 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004402/46.35, allocations: 1.213 MB / 12.07 GB, free: 14.31 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02648/46.37, allocations: 12.36 MB / 12.08 GB, free: 13.7 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.358e-05/46.37, allocations: 56.56 kB / 12.08 GB, free: 13.7 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.64e-05/46.37, allocations: 7.266 kB / 12.08 GB, free: 13.7 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01612/46.39, allocations: 9.746 MB / 12.09 GB, free: 13.09 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.05159/46.44, allocations: 24.4 MB / 12.11 GB, free: 10.92 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.325e-05/46.44, allocations: 14.5 kB / 12.11 GB, free: 10.92 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005879/46.45, allocations: 1.165 MB / 12.11 GB, free: 10.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005165/46.45, allocations: 2.389 MB / 12.12 GB, free: 10.73 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001075/46.45, allocations: 174.5 kB / 12.12 GB, free: 10.73 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009034/46.46, allocations: 10.99 MB / 12.13 GB, free: 2.914 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/46.46, allocations: 11.09 kB / 12.13 GB, free: 2.914 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8625/47.33, allocations: 19.03 MB / 12.15 GB, free: 111.1 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008809/47.33, allocations: 2.575 MB / 12.15 GB, free: 111 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003814/47.34, allocations: 111.5 kB / 12.15 GB, free: 111 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01114/47.35, allocations: 0.9902 MB / 12.15 GB, free: 111 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008202/47.35, allocations: 396.8 kB / 12.15 GB, free: 111 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006878/47.35, allocations: 252.4 kB / 12.15 GB, free: 111 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02044/47.37, allocations: 9.279 MB / 12.16 GB, free: 110.6 MB / 1.026 GB Notification: Performance of sort global known variables: time 6.21e-07/47.37, allocations: 0 / 12.16 GB, free: 110.6 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.04194/47.41, allocations: 6.031 MB / 12.16 GB, free: 110.6 MB / 1.026 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.03538/47.45, allocations: 24.11 MB / 12.19 GB, free: 104.6 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.03011/47.48, allocations: 16.8 MB / 12.2 GB, free: 103.9 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/47.48, allocations: 3.375 kB / 12.2 GB, free: 103.9 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.007765/47.49, allocations: 4.66 MB / 12.21 GB, free: 103.9 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03154/47.52, allocations: 5.893 MB / 12.21 GB, free: 103.8 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05704/47.58, allocations: 22.75 MB / 12.24 GB, free: 99.34 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008388/47.58, allocations: 7.141 MB / 12.24 GB, free: 98.35 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02961/47.61, allocations: 6.506 MB / 12.25 GB, free: 98.24 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009216/47.62, allocations: 5.803 MB / 12.26 GB, free: 98.23 MB / 1.026 GB Notification: Performance of SimCode: time 8.22e-07/47.62, allocations: 0 / 12.26 GB, free: 98.23 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.64/57.26, allocations: 419 MB / 12.67 GB, free: 105.3 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/57.26, allocations: 221.5 kB / 12.67 GB, free: 105.1 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.34/84.61, allocations: 0 / 12.67 GB, free: 105.1 MB / 1.026 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)