Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified4",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.01632/0.01632, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.395/1.395, 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 2.707/2.707, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001628/0.001627, allocations: 100.4 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.000519, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8301, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.373/3.203, allocations: 424.8 MB / 1.064 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004424/3.204, allocations: 97.44 kB / 1.065 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 65.45/68.65, allocations: 10.56 GB / 11.63 GB, free: 50.02 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.524e-06/68.65, allocations: 0 / 11.63 GB, free: 50.02 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003533/68.66, allocations: 396.3 kB / 11.63 GB, free: 49.89 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: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.07876/68.74, allocations: 18.83 MB / 11.64 GB, free: 31.55 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/68.74, allocations: 8.031 kB / 11.64 GB, free: 31.54 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005784/68.74, allocations: 0.9137 MB / 11.65 GB, free: 30.62 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01537/68.76, allocations: 2.209 MB / 11.65 GB, free: 28.39 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06662/68.82, allocations: 20.47 MB / 11.67 GB, free: 7.828 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009586/68.82, allocations: 0.6034 MB / 11.67 GB, free: 7.223 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004853/68.83, allocations: 0.8047 MB / 11.67 GB, free: 6.418 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8909/69.72, allocations: 14.23 MB / 11.68 GB, free: 51.49 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003337/69.72, allocations: 13.62 kB / 11.68 GB, free: 51.49 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003196/69.72, allocations: 294 kB / 11.68 GB, free: 51.49 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002136/69.72, allocations: 182.3 kB / 11.68 GB, free: 51.49 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0347/69.76, allocations: 18.48 MB / 11.7 GB, free: 51.43 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.1362/69.9, allocations: 74.32 MB / 11.77 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/69.91, allocations: 9.8 MB / 11.78 GB, free: 34.73 MB / 0.9948 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.06902/69.98, allocations: 29.95 MB / 11.81 GB, free: 26.46 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01694/70, allocations: 8.271 MB / 11.82 GB, free: 26.34 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04396/70.04, allocations: 14.74 MB / 11.83 GB, free: 26.22 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=427): time 4.953e-05/70.04, allocations: 2.875 kB / 11.83 GB, free: 26.22 MB / 0.9948 GB Notification: Performance of matching and sorting (n=616): time 0.3793/70.42, allocations: 107.3 MB / 11.94 GB, free: 17.98 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/70.42, allocations: 117.1 kB / 11.94 GB, free: 17.91 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03563/70.46, allocations: 12.93 MB / 11.95 GB, free: 17.23 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.004026/70.46, allocations: 192.1 kB / 11.95 GB, free: 17.2 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01074/70.47, allocations: 6.668 MB / 11.96 GB, free: 16.07 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005635/70.48, allocations: 2.086 MB / 11.96 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003135/70.48, allocations: 155 kB / 11.96 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0007998/70.48, allocations: 0.6151 MB / 11.96 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01824/70.5, allocations: 8.519 MB / 11.97 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02243/70.52, allocations: 11.31 MB / 11.98 GB, free: 7.531 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02141/70.55, allocations: 9.474 MB / 11.99 GB, free: 3.562 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/70.55, allocations: 14.72 kB / 11.99 GB, free: 3.562 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.07946/70.63, allocations: 27.46 MB / 12.02 GB, free: 9.73 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.01853/70.64, allocations: 34.91 MB / 12.05 GB, free: 5.117 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000245/70.64, allocations: 50.16 kB / 12.05 GB, free: 5.117 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655/72.3, allocations: 152.4 MB / 12.2 GB, free: 111.7 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01235/72.31, allocations: 1.949 MB / 12.2 GB, free: 111.7 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04848/72.36, allocations: 24.82 MB / 12.23 GB, free: 106.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02349/72.38, allocations: 1.36 MB / 12.23 GB, free: 106.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006195/72.39, allocations: 0.8132 MB / 12.23 GB, free: 106.6 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/72.39, allocations: 10.97 kB / 12.23 GB, free: 106.6 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06609/72.46, allocations: 26.38 MB / 12.25 GB, free: 106.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002703/72.46, allocations: 52.19 kB / 12.25 GB, free: 106.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5891/73.05, allocations: 147.2 MB / 12.4 GB, free: 48.45 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/73.06, allocations: 1.937 MB / 12.4 GB, free: 46.65 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06395/73.12, allocations: 29.53 MB / 12.43 GB, free: 24.62 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02498/73.15, allocations: 1.337 MB / 12.43 GB, free: 23.48 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005532/73.15, allocations: 0.7732 MB / 12.43 GB, free: 22.77 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (758): * Single equations (assignments): 744 * 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 {32 38,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01951/73.17, allocations: 3.376 MB / 12.43 GB, free: 20.74 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008917/73.18, allocations: 1.306 MB / 12.44 GB, free: 20.14 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.191/74.37, allocations: 47.16 MB / 12.48 GB, free: 102.6 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001882/74.37, allocations: 73.5 kB / 12.48 GB, free: 102.6 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.64e-05/74.37, allocations: 4.719 kB / 12.48 GB, free: 102.6 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1722/74.54, allocations: 41.55 MB / 12.52 GB, free: 102 MB / 1.042 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.176/74.72, allocations: 48.65 MB / 12.57 GB, free: 95.75 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001581/74.72, allocations: 7.219 kB / 12.57 GB, free: 95.75 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01163/74.73, allocations: 1.35 MB / 12.57 GB, free: 95.75 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1842/74.92, allocations: 42.02 MB / 12.61 GB, free: 95.68 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002398/74.92, allocations: 204.2 kB / 12.61 GB, free: 95.68 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0215/74.94, allocations: 13.76 MB / 12.63 GB, free: 90.54 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/74.94, allocations: 10.78 kB / 12.63 GB, free: 90.54 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1378/75.08, allocations: 45.07 MB / 12.67 GB, free: 87.04 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01748/75.1, allocations: 3.134 MB / 12.67 GB, free: 86.74 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008069/75.1, allocations: 137.5 kB / 12.67 GB, free: 86.74 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02002/75.12, allocations: 1.064 MB / 12.67 GB, free: 86.71 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002981/75.13, allocations: 476.2 kB / 12.67 GB, free: 86.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002335/75.13, allocations: 303.8 kB / 12.67 GB, free: 86.7 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.02945/75.16, allocations: 9.887 MB / 12.68 GB, free: 86.34 MB / 1.042 GB Notification: Performance of sort global known variables: time 8.32e-07/75.16, allocations: 0 / 12.68 GB, free: 86.34 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.06157/75.22, allocations: 7.227 MB / 12.69 GB, free: 86.34 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (536): * Single equations (assignments): 514 * 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,30 38,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.1545/75.37, allocations: 50.73 MB / 12.74 GB, free: 73.49 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.08525/75.46, allocations: 34.57 MB / 12.77 GB, free: 56.61 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.12e-05/75.46, allocations: 4 kB / 12.77 GB, free: 56.61 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.02306/75.48, allocations: 9.556 MB / 12.78 GB, free: 51.98 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03906/75.52, allocations: 6.732 MB / 12.79 GB, free: 48.57 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.115/77.64, allocations: 81.55 MB / 12.87 GB, free: 60.67 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02749/77.66, allocations: 7.706 MB / 12.88 GB, free: 59.68 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.03562/77.7, allocations: 4.099 MB / 12.88 GB, free: 59.56 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02309/77.72, allocations: 6.722 MB / 12.89 GB, free: 59.56 MB / 1.042 GB Notification: Performance of SimCode: time 3.216e-06/77.72, allocations: 0 / 12.89 GB, free: 59.56 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.171/79.89, allocations: 0.5351 GB / 13.42 GB, free: 134.9 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004239/79.89, allocations: 240 kB / 13.42 GB, free: 134.6 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.88/109.8, allocations: 3.938 kB / 13.42 GB, free: 134.6 MB / 1.089 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified4.fmu > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)