Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="IDEAS_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.00731/0.00731, allocations: 171.7 kB / 15.12 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.7872/0.7872, allocations: 135.2 MB / 151 MB, free: 13.82 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.522/1.522, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0009102/0.0009101, allocations: 94.89 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006186/0.0006186, allocations: 15.98 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4999/0.5006, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.473/1.974, allocations: 425.5 MB / 1.065 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/1.974, allocations: 110.6 kB / 1.065 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 50.32/52.29, allocations: 10.5 GB / 11.56 GB, free: 55.54 MB / 0.9637 GB Notification: Performance of FrontEnd: time 3.577e-06/52.29, allocations: 0 / 11.56 GB, free: 55.54 MB / 0.9637 GB Notification: Performance of Transformations before backend: time 0.006674/52.3, allocations: 346.4 kB / 11.56 GB, free: 55.54 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.08714/52.39, allocations: 17.63 MB / 11.58 GB, free: 52.07 MB / 0.9637 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/52.39, allocations: 11.81 kB / 11.58 GB, free: 52.07 MB / 0.9637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005257/52.39, allocations: 0.7876 MB / 11.58 GB, free: 52 MB / 0.9637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/52.41, allocations: 2.233 MB / 11.58 GB, free: 51.2 MB / 0.9637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07698/52.49, allocations: 18.95 MB / 11.6 GB, free: 49.08 MB / 0.9637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001284/52.49, allocations: 0.5312 MB / 11.6 GB, free: 49.07 MB / 0.9637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005336/52.49, allocations: 0.7108 MB / 11.6 GB, free: 49.07 MB / 0.9637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04389/52.54, allocations: 13.33 MB / 11.62 GB, free: 48.46 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006025/52.54, allocations: 6.688 kB / 11.62 GB, free: 48.46 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004723/52.54, allocations: 247.4 kB / 11.62 GB, free: 48.46 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000381/52.54, allocations: 159.9 kB / 11.62 GB, free: 48.46 MB / 0.9637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04256/52.58, allocations: 17.98 MB / 11.63 GB, free: 48.41 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.1547/52.74, allocations: 70.16 MB / 11.7 GB, free: 16.64 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02039/52.76, allocations: 9.763 MB / 11.71 GB, free: 16.48 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.07382/52.83, allocations: 29.26 MB / 11.74 GB, free: 8.438 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01718/52.85, allocations: 8.298 MB / 11.75 GB, free: 8.32 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04836/52.9, allocations: 15.08 MB / 11.76 GB, free: 8.113 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=394): time 5.549e-05/52.9, allocations: 2.953 kB / 11.76 GB, free: 8.113 MB / 0.9637 GB Notification: Performance of matching and sorting (n=583): time 0.4604/53.36, allocations: 116.3 MB / 11.88 GB, free: 15.28 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/53.36, allocations: 113.2 kB / 11.88 GB, free: 15.21 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03556/53.4, allocations: 12.13 MB / 11.89 GB, free: 14.27 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.004547/53.4, allocations: 188.8 kB / 11.89 GB, free: 14.13 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01194/53.41, allocations: 6.011 MB / 11.89 GB, free: 9.43 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.005964/53.42, allocations: 1.963 MB / 11.9 GB, free: 7.895 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004227/53.42, allocations: 147.4 kB / 11.9 GB, free: 7.781 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0009166/53.42, allocations: 0.5978 MB / 11.9 GB, free: 7.344 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02033/53.44, allocations: 8.523 MB / 11.91 GB, free: 3.922 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04084/53.48, allocations: 12.22 MB / 11.92 GB, free: 12.52 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02352/53.51, allocations: 9.401 MB / 11.93 GB, free: 4.402 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.612e-05/53.51, allocations: 16 kB / 11.93 GB, free: 4.387 MB / 0.9949 GB Notification: Performance of matching and sorting (n=964) (initialization): time 1.136/54.64, allocations: 28.83 MB / 11.96 GB, free: 79.11 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.006791/54.65, allocations: 29.72 MB / 11.98 GB, free: 48.46 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001772/54.65, allocations: 48 kB / 11.98 GB, free: 48.46 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7061/55.36, allocations: 170.6 MB / 12.15 GB, free: 47.79 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01171/55.37, allocations: 1.755 MB / 12.15 GB, free: 47.77 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05669/55.43, allocations: 26.75 MB / 12.18 GB, free: 42.59 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0235/55.45, allocations: 1.282 MB / 12.18 GB, free: 42.52 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0052/55.46, allocations: 0.7977 MB / 12.18 GB, free: 42.52 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/55.46, allocations: 5.453 kB / 12.18 GB, free: 42.52 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06905/55.52, allocations: 26.64 MB / 12.21 GB, free: 42.01 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002844/55.52, allocations: 46.53 kB / 12.21 GB, free: 42.01 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633/57.16, allocations: 170.9 MB / 12.37 GB, free: 109.1 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009639/57.17, allocations: 1.743 MB / 12.38 GB, free: 109.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07145/57.24, allocations: 31.76 MB / 12.41 GB, free: 105.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02291/57.26, allocations: 1.26 MB / 12.41 GB, free: 105.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004663/57.27, allocations: 0.7534 MB / 12.41 GB, free: 105.1 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.01388/57.28, allocations: 3.112 MB / 12.41 GB, free: 104.9 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00687/57.29, allocations: 1.217 MB / 12.41 GB, free: 104.9 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07521/57.36, allocations: 24.88 MB / 12.44 GB, free: 104.4 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002012/57.36, allocations: 77.14 kB / 12.44 GB, free: 104.4 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.607e-05/57.36, allocations: 0 / 12.44 GB, free: 104.4 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05214/57.42, allocations: 19.32 MB / 12.46 GB, free: 103.9 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.1195/57.53, allocations: 45.92 MB / 12.5 GB, free: 97.47 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.98e-05/57.54, allocations: 9.188 kB / 12.5 GB, free: 97.47 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007303/57.54, allocations: 1.244 MB / 12.5 GB, free: 97.47 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2064/57.75, allocations: 48.98 MB / 12.55 GB, free: 97.35 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002218/57.75, allocations: 198.4 kB / 12.55 GB, free: 97.35 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02381/57.77, allocations: 14.86 MB / 12.56 GB, free: 90.61 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.448e-05/57.77, allocations: 14.39 kB / 12.56 GB, free: 90.6 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0629/57.84, allocations: 31.61 MB / 12.6 GB, free: 74.6 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01234/57.85, allocations: 2.974 MB / 12.6 GB, free: 72.82 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005697/57.86, allocations: 132.8 kB / 12.6 GB, free: 72.79 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01677/57.87, allocations: 0.9977 MB / 12.6 GB, free: 72.2 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002357/57.88, allocations: 464.4 kB / 12.6 GB, free: 71.97 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001411/57.88, allocations: 284.4 kB / 12.6 GB, free: 71.78 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02154/57.9, allocations: 9.294 MB / 12.61 GB, free: 67.04 MB / 1.026 GB Notification: Performance of sort global known variables: time 3.6e-07/57.9, allocations: 0 / 12.61 GB, free: 67.04 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.04736/57.95, allocations: 6.615 MB / 12.62 GB, free: 61.25 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.06742/58.01, allocations: 36.92 MB / 12.65 GB, free: 37.53 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.9199/58.93, allocations: 36.35 MB / 12.69 GB, free: 109.6 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.727e-05/58.93, allocations: 1.906 kB / 12.69 GB, free: 109.6 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.02458/58.96, allocations: 9.861 MB / 12.7 GB, free: 109.5 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03615/58.99, allocations: 6.178 MB / 12.7 GB, free: 109.4 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1017/59.1, allocations: 73.71 MB / 12.77 GB, free: 57.71 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01575/59.11, allocations: 7.207 MB / 12.78 GB, free: 56.75 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02267/59.13, allocations: 3.766 MB / 12.79 GB, free: 56.63 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0143/59.15, allocations: 6.129 MB / 12.79 GB, free: 56.63 MB / 1.026 GB Notification: Performance of SimCode: time 1.253e-06/59.15, allocations: 0 / 12.79 GB, free: 56.63 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.691/60.84, allocations: 0.5146 GB / 13.31 GB, free: 88.08 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/60.84, allocations: 255.5 kB / 13.31 GB, free: 87.83 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.6/87.44, allocations: 0 / 13.31 GB, free: 87.83 MB / 1.042 GB (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified5.fmu > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)