Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3",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.007159/0.007159, allocations: 171 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8002/0.8002, allocations: 135.2 MB / 151 MB, free: 13.79 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.626/1.626, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001025/0.001025, allocations: 103.2 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003726, allocations: 12 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4819, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.315/1.797, allocations: 424.4 MB / 1.064 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/1.798, allocations: 96.42 kB / 1.064 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 42.71/44.51, allocations: 9.584 GB / 10.65 GB, free: 50.01 MB / 0.9792 GB Notification: Performance of FrontEnd: time 5.951e-06/44.51, allocations: 0 / 10.65 GB, free: 50.01 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003892/44.51, allocations: 431.2 kB / 10.65 GB, free: 49.94 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.09844/44.61, allocations: 20.64 MB / 10.67 GB, free: 42.71 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/44.61, allocations: 13.97 kB / 10.67 GB, free: 42.71 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008104/44.62, allocations: 1.039 MB / 10.67 GB, free: 42.62 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01902/44.64, allocations: 2.191 MB / 10.67 GB, free: 41.66 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08316/44.72, allocations: 21.82 MB / 10.69 GB, free: 39.21 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001387/44.72, allocations: 0.6774 MB / 10.69 GB, free: 39.19 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007102/44.73, allocations: 0.959 MB / 10.69 GB, free: 39.18 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05464/44.78, allocations: 15.76 MB / 10.71 GB, free: 38.39 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009482/44.78, allocations: 17.78 kB / 10.71 GB, free: 38.39 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005954/44.79, allocations: 321.7 kB / 10.71 GB, free: 38.39 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006397/44.79, allocations: 370 kB / 10.71 GB, free: 38.38 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05047/44.84, allocations: 20.02 MB / 10.73 GB, free: 38.31 MB / 0.9792 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.2047/45.04, allocations: 79.88 MB / 10.81 GB, free: 4.344 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02742/45.07, allocations: 11.96 MB / 10.82 GB, free: 3.898 MB / 0.9792 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.1042/45.18, allocations: 33.36 MB / 10.85 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02372/45.2, allocations: 9.354 MB / 10.86 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05423/45.25, allocations: 14.84 MB / 10.88 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=593): time 6.714e-05/45.25, allocations: 0 / 10.88 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=807): time 2.007/47.26, allocations: 201.4 MB / 11.07 GB, free: 73.49 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/47.26, allocations: 138.3 kB / 11.07 GB, free: 73.42 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04107/47.3, allocations: 14.41 MB / 11.09 GB, free: 72.76 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.004922/47.31, allocations: 233.2 kB / 11.09 GB, free: 72.73 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01204/47.32, allocations: 7.256 MB / 11.09 GB, free: 72.52 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.007207/47.33, allocations: 2.811 MB / 11.1 GB, free: 72.3 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004096/47.33, allocations: 199.9 kB / 11.1 GB, free: 72.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001035/47.33, allocations: 0.7081 MB / 11.1 GB, free: 71.97 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02207/47.36, allocations: 9.802 MB / 11.11 GB, free: 71.95 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02645/47.38, allocations: 12.74 MB / 11.12 GB, free: 68.79 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02827/47.41, allocations: 11 MB / 11.13 GB, free: 68.6 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002468/47.41, allocations: 14.94 kB / 11.13 GB, free: 68.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.6026/48.01, allocations: 128.3 MB / 11.26 GB, free: 65.75 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.009091/48.02, allocations: 36.95 MB / 11.29 GB, free: 27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003755/48.02, allocations: 54.75 kB / 11.29 GB, free: 27 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686/49.71, allocations: 146.4 MB / 11.44 GB, free: 97.94 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0181/49.73, allocations: 3.195 MB / 11.44 GB, free: 97.94 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1548/49.88, allocations: 74.35 MB / 11.51 GB, free: 92.07 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02914/49.91, allocations: 1.624 MB / 11.51 GB, free: 92.07 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006116/49.92, allocations: 0.868 MB / 11.51 GB, free: 92.07 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/49.92, allocations: 3.781 kB / 11.51 GB, free: 92.07 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5803/50.5, allocations: 127.1 MB / 11.64 GB, free: 90.53 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00038/50.5, allocations: 51.5 kB / 11.64 GB, free: 90.53 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641/52.14, allocations: 146.7 MB / 11.78 GB, free: 95.86 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01749/52.16, allocations: 3.189 MB / 11.78 GB, free: 95.86 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1845/52.34, allocations: 79.09 MB / 11.86 GB, free: 91.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02744/52.37, allocations: 1.588 MB / 11.86 GB, free: 91.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006477/52.38, allocations: 0.8263 MB / 11.86 GB, free: 91.2 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1035): * Single equations (assignments): 1021 * 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: 3 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.02028/52.4, allocations: 3.939 MB / 11.87 GB, free: 91.01 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009455/52.41, allocations: 1.467 MB / 11.87 GB, free: 91.01 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2192/52.62, allocations: 50.25 MB / 11.92 GB, free: 90.34 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002202/52.62, allocations: 95.12 kB / 11.92 GB, free: 90.34 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003094/52.63, allocations: 32.67 kB / 11.92 GB, free: 90.34 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1871/52.81, allocations: 44.32 MB / 11.96 GB, free: 89.65 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2545/53.07, allocations: 67.76 MB / 12.03 GB, free: 85.58 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000116/53.07, allocations: 0.5625 kB / 12.03 GB, free: 85.58 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01167/53.08, allocations: 1.838 MB / 12.03 GB, free: 85.57 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1734/53.25, allocations: 41.75 MB / 12.07 GB, free: 72.13 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004174/53.26, allocations: 334.4 kB / 12.07 GB, free: 72.02 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.058/53.31, allocations: 29.06 MB / 12.1 GB, free: 54.99 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/53.31, allocations: 5.734 kB / 12.1 GB, free: 54.99 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.239/54.55, allocations: 58.82 MB / 12.16 GB, free: 89.44 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02007/54.57, allocations: 3.686 MB / 12.16 GB, free: 89.35 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008866/54.58, allocations: 255.1 kB / 12.16 GB, free: 89.35 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02181/54.6, allocations: 1.311 MB / 12.16 GB, free: 89.35 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004224/54.61, allocations: 0.5757 MB / 12.16 GB, free: 89.34 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002794/54.61, allocations: 351.9 kB / 12.16 GB, free: 89.34 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.03031/54.64, allocations: 11.07 MB / 12.17 GB, free: 88.91 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.154e-06/54.64, allocations: 3.031 kB / 12.17 GB, free: 88.91 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.06658/54.71, allocations: 8.734 MB / 12.18 GB, free: 88.91 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpSouth.filter.s[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],pmpNorth.filter.s[2],valSouth1[1].filter.s[1],valSouth1[1].filter.s[2],valSouth1[2].filter.s[1],valSouth1[2].filter.s[2],valSouth1[3].filter.s[1],valSouth1[3].filter.s[2],valSouth1[4].filter.s[1],valSouth1[4].filter.s[2],valSouth2[1].filter.s[1],valSouth2[1].filter.s[2],valSouth2[2].filter.s[1],valSouth2[2].filter.s[2],valSouth2[3].filter.s[1],valSouth2[3].filter.s[2],valSouth2[4].filter.s[1],valSouth2[4].filter.s[2],valSouth2[5].filter.s[1],valSouth2[5].filter.s[2],valSouth2[6].filter.s[1],valSouth2[6].filter.s[2],valSouth2[7].filter.s[1],valSouth2[7].filter.s[2],valSouth2[8].filter.s[1],valSouth2[8].filter.s[2],valNorth1[1].filter.s[1],valNorth1[1].filter.s[2],valNorth1[2].filter.s[1],valNorth1[2].filter.s[2],valNorth1[3].filter.s[1],valNorth1[3].filter.s[2],valNorth1[4].filter.s[1],valNorth1[4].filter.s[2],valNorth2[1].filter.s[1],valNorth2[1].filter.s[2],valNorth2[2].filter.s[1],valNorth2[2].filter.s[2],valNorth2[3].filter.s[1],valNorth2[3].filter.s[2],valNorth2[4].filter.s[1],valNorth2[4].filter.s[2],valNorth2[5].filter.s[1],valNorth2[5].filter.s[2],valNorth2[6].filter.s[1],valNorth2[6].filter.s[2],valNorth2[7].filter.s[1],valNorth2[7].filter.s[2],valNorth2[8].filter.s[1],valNorth2[8].filter.s[2],valSouth.vol.dynBal.U,valSouth.filter.s[1],valSouth.filter.s[2],valNorth.vol.dynBal.U,valNorth.filter.s[1],valNorth.filter.s[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],pumpHea.filter.s[2],valHea.filter.s[1],valHea.filter.s[2],valCoo.filter.s[1],valCoo.filter.s[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * 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 (732): * Single equations (assignments): 711 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {6 81,7 83} Notification: Performance of Backend phase and start with SimCode phase: time 0.2262/54.93, allocations: 64 MB / 12.24 GB, free: 85.5 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.1099/55.04, allocations: 40.07 MB / 12.28 GB, free: 84.38 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.347e-05/55.04, allocations: 3.375 kB / 12.28 GB, free: 84.38 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.03209/55.08, allocations: 11.28 MB / 12.29 GB, free: 84.1 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04499/55.12, allocations: 7.159 MB / 12.3 GB, free: 84.04 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1415/55.26, allocations: 92.66 MB / 12.39 GB, free: 21.72 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02071/55.28, allocations: 8.943 MB / 12.4 GB, free: 20.58 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.03526/55.32, allocations: 5.561 MB / 12.41 GB, free: 19.9 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02032/55.34, allocations: 7.674 MB / 12.41 GB, free: 19.88 MB / 1.042 GB Notification: Performance of SimCode: time 1.583e-06/55.34, allocations: 0 / 12.41 GB, free: 19.88 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.052/59.39, allocations: 0.5822 GB / 13 GB, free: 111.3 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/59.39, allocations: 234.4 kB / 13 GB, free: 111.1 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.75/96.15, allocations: 3.938 kB / 13 GB, free: 111.1 MB / 1.104 GB (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3.fmu > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)