Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified5",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.01431/0.01431, allocations: 170.8 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.293/1.293, 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.937/2.937, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.001514/0.001514, allocations: 99.91 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008552/0.0008555, allocations: 12 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9512/0.9521, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.41/3.363, allocations: 425.5 MB / 1.065 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0007228/3.363, allocations: 105.9 kB / 1.065 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 57.01/60.37, allocations: 10.5 GB / 11.56 GB, free: 56.35 MB / 0.9637 GB Notification: Performance of FrontEnd: time 3.607e-06/60.37, allocations: 0.6562 kB / 11.56 GB, free: 56.35 MB / 0.9637 GB Notification: Performance of Transformations before backend: time 0.003528/60.37, allocations: 350.7 kB / 11.56 GB, free: 56.35 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.08134/60.45, allocations: 17.63 MB / 11.58 GB, free: 52.85 MB / 0.9637 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/60.45, allocations: 10.31 kB / 11.58 GB, free: 52.85 MB / 0.9637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004969/60.46, allocations: 0.7865 MB / 11.58 GB, free: 52.77 MB / 0.9637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/60.48, allocations: 2.237 MB / 11.58 GB, free: 51.98 MB / 0.9637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07319/60.55, allocations: 18.95 MB / 11.6 GB, free: 49.86 MB / 0.9637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00104/60.55, allocations: 0.5291 MB / 11.6 GB, free: 49.84 MB / 0.9637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00526/60.55, allocations: 0.7072 MB / 11.6 GB, free: 49.84 MB / 0.9637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0396/60.59, allocations: 13.34 MB / 11.62 GB, free: 49.24 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003426/60.59, allocations: 6.156 kB / 11.62 GB, free: 49.24 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003711/60.6, allocations: 248.2 kB / 11.62 GB, free: 49.24 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/60.6, allocations: 154 kB / 11.62 GB, free: 49.23 MB / 0.9637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0422/60.64, allocations: 17.98 MB / 11.63 GB, free: 49.19 MB / 0.9637 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.1612/60.8, allocations: 70.16 MB / 11.7 GB, free: 17.41 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01964/60.82, allocations: 9.769 MB / 11.71 GB, free: 17.25 MB / 0.9637 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.07688/60.9, allocations: 29.26 MB / 11.74 GB, free: 9.211 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01666/60.92, allocations: 8.301 MB / 11.75 GB, free: 9.094 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04578/60.96, allocations: 15.07 MB / 11.76 GB, free: 8.891 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=394): time 5.508e-05/60.96, allocations: 1.969 kB / 11.76 GB, free: 8.891 MB / 0.9637 GB Notification: Performance of matching and sorting (n=583): time 0.4712/61.43, allocations: 116.3 MB / 11.88 GB, free: 80 kB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/61.43, allocations: 117.8 kB / 11.88 GB, free: 4 kB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03322/61.47, allocations: 12.14 MB / 11.89 GB, free: 14.99 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.005274/61.47, allocations: 183.7 kB / 11.89 GB, free: 14.86 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01092/61.48, allocations: 6.011 MB / 11.89 GB, free: 10.15 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.006201/61.49, allocations: 1.965 MB / 11.9 GB, free: 8.621 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003685/61.49, allocations: 147.4 kB / 11.9 GB, free: 8.508 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0008223/61.49, allocations: 0.5954 MB / 11.9 GB, free: 8.074 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02092/61.51, allocations: 8.525 MB / 11.91 GB, free: 4.871 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0321/61.55, allocations: 11.74 MB / 11.92 GB, free: 12.52 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02326/61.57, allocations: 9.403 MB / 11.93 GB, free: 4.398 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.487e-05/61.57, allocations: 16 kB / 11.93 GB, free: 4.383 MB / 0.9949 GB Notification: Performance of matching and sorting (n=964) (initialization): time 1.159/62.73, allocations: 28.83 MB / 11.95 GB, free: 79.33 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.009094/62.74, allocations: 29.72 MB / 11.98 GB, free: 48.68 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001972/62.74, allocations: 43.41 kB / 11.98 GB, free: 48.68 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7203/63.46, allocations: 170.6 MB / 12.15 GB, free: 48.03 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01333/63.47, allocations: 1.753 MB / 12.15 GB, free: 48.01 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05538/63.53, allocations: 26.75 MB / 12.18 GB, free: 42.83 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02464/63.55, allocations: 1.285 MB / 12.18 GB, free: 42.76 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00499/63.56, allocations: 0.7989 MB / 12.18 GB, free: 42.76 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/63.56, allocations: 4.406 kB / 12.18 GB, free: 42.76 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07117/63.63, allocations: 26.64 MB / 12.21 GB, free: 42.26 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003021/63.63, allocations: 45.44 kB / 12.21 GB, free: 42.26 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795/65.42, allocations: 170.9 MB / 12.37 GB, free: 109.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01039/65.43, allocations: 1.744 MB / 12.37 GB, free: 109.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06179/65.5, allocations: 31.76 MB / 12.41 GB, free: 105.8 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0212/65.52, allocations: 1.257 MB / 12.41 GB, free: 105.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004433/65.52, allocations: 0.7576 MB / 12.41 GB, free: 105.8 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (658): * Single equations (assignments): 644 * 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: 0 * Non-linear torn systems: 3 {39 57,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01267/65.53, allocations: 3.115 MB / 12.41 GB, free: 105.6 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005319/65.54, allocations: 1.223 MB / 12.41 GB, free: 105.6 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07276/65.61, allocations: 24.87 MB / 12.44 GB, free: 105.1 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001806/65.61, allocations: 72.28 kB / 12.44 GB, free: 105.1 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-05/65.61, allocations: 2.391 kB / 12.44 GB, free: 105.1 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05333/65.67, allocations: 19.32 MB / 12.46 GB, free: 104.6 MB / 1.026 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.1285/65.79, allocations: 45.92 MB / 12.5 GB, free: 98.17 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000119/65.79, allocations: 7.531 kB / 12.5 GB, free: 98.17 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007783/65.8, allocations: 1.245 MB / 12.5 GB, free: 98.17 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2104/66.01, allocations: 48.98 MB / 12.55 GB, free: 98.05 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002873/66.02, allocations: 199.5 kB / 12.55 GB, free: 98.05 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02525/66.04, allocations: 14.86 MB / 12.56 GB, free: 91.14 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/66.04, allocations: 13.08 kB / 12.56 GB, free: 91.13 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06442/66.11, allocations: 31.61 MB / 12.59 GB, free: 75.16 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01426/66.12, allocations: 2.972 MB / 12.6 GB, free: 73.38 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007158/66.13, allocations: 136.1 kB / 12.6 GB, free: 73.35 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01723/66.14, allocations: 0.9979 MB / 12.6 GB, free: 72.77 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00264/66.15, allocations: 464 kB / 12.6 GB, free: 72.54 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002093/66.15, allocations: 287.3 kB / 12.6 GB, free: 72.35 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02369/66.17, allocations: 9.291 MB / 12.61 GB, free: 67.62 MB / 1.026 GB Notification: Performance of sort global known variables: time 8.82e-07/66.17, allocations: 0 / 12.61 GB, free: 67.62 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.05313/66.23, allocations: 6.62 MB / 12.62 GB, free: 61.82 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 (489): * Single equations (assignments): 467 * 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: 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: 0 * Non-linear torn systems: 3 {8 74,38 56,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.07832/66.3, allocations: 36.92 MB / 12.65 GB, free: 37.97 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 1.024/67.33, allocations: 36.2 MB / 12.69 GB, free: 109.9 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.229e-05/67.33, allocations: 3.906 kB / 12.69 GB, free: 109.9 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.04043/67.37, allocations: 9.857 MB / 12.7 GB, free: 109.7 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05532/67.42, allocations: 6.176 MB / 12.7 GB, free: 109.7 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1051/67.53, allocations: 73.71 MB / 12.77 GB, free: 57.96 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01807/67.55, allocations: 7.211 MB / 12.78 GB, free: 57 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02518/67.57, allocations: 3.774 MB / 12.78 GB, free: 56.88 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01648/67.59, allocations: 6.122 MB / 12.79 GB, free: 56.88 MB / 1.026 GB Notification: Performance of SimCode: time 1.974e-06/67.59, allocations: 3.25 kB / 12.79 GB, free: 56.88 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.607/69.2, allocations: 0.5146 GB / 13.31 GB, free: 88.55 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/69.2, allocations: 253 kB / 13.31 GB, free: 88.28 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.64/95.83, allocations: 0 / 13.31 GB, free: 88.28 MB / 1.042 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)