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.001776/0.001776, allocations: 174.6 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.916/0.916, allocations: 133.4 MB / 146.7 MB, free: 10.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.397/1.397, allocations: 221.3 MB / 400.4 MB, free: 5.863 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.001015/0.001015, allocations: 99.78 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.797e-05, allocations: 6.234 kB / 0.5601 GB, free: 87.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.161, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.321/1.482, allocations: 424.8 MB / 1.055 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/1.483, allocations: 90.45 kB / 1.055 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 43.2/44.68, allocations: 10.53 GB / 11.59 GB, free: 43.09 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.954e-06/44.68, allocations: 0 / 11.59 GB, free: 43.09 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003519/44.68, allocations: 396.8 kB / 11.59 GB, free: 43.02 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.04954/44.73, allocations: 12.17 MB / 11.6 GB, free: 38.13 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/44.73, allocations: 11.56 kB / 11.6 GB, free: 38.13 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005278/44.74, allocations: 0.912 MB / 11.6 GB, free: 38.05 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/44.75, allocations: 2.201 MB / 11.6 GB, free: 37.18 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0651/44.82, allocations: 20.26 MB / 11.62 GB, free: 34.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009026/44.82, allocations: 0.6002 MB / 11.62 GB, free: 34.88 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004378/44.82, allocations: 0.8074 MB / 11.62 GB, free: 34.88 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03561/44.86, allocations: 13.98 MB / 11.64 GB, free: 34.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006025/44.86, allocations: 15.94 kB / 11.64 GB, free: 34.09 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003708/44.86, allocations: 290.8 kB / 11.64 GB, free: 34.09 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000289/44.86, allocations: 189.7 kB / 11.64 GB, free: 34.09 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03399/44.9, allocations: 18.06 MB / 11.65 GB, free: 34.03 MB / 0.9792 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.1307/45.03, allocations: 74.27 MB / 11.73 GB, free: 16.31 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0152/45.04, allocations: 9.528 MB / 11.74 GB, free: 16.14 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0128/45.05, allocations: 8.488 MB / 11.75 GB, free: 16.08 MB / 0.9948 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.06807/45.12, allocations: 30.3 MB / 11.77 GB, free: 7.449 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01391/45.14, allocations: 8.095 MB / 11.78 GB, free: 7.332 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04343/45.18, allocations: 14.98 MB / 11.8 GB, free: 7.102 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=427): time 4.621e-05/45.18, allocations: 2.953 kB / 11.8 GB, free: 7.102 MB / 0.9948 GB Notification: Performance of matching and sorting (n=613): time 0.2229/45.4, allocations: 73.43 MB / 11.87 GB, free: 15.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/45.4, allocations: 117.8 kB / 11.87 GB, free: 15.13 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0304/45.43, allocations: 12.78 MB / 11.88 GB, free: 14.34 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.003518/45.44, allocations: 200.5 kB / 11.88 GB, free: 14.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.008662/45.45, allocations: 6.672 MB / 11.89 GB, free: 11.34 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.004822/45.45, allocations: 2.072 MB / 11.89 GB, free: 9.734 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00294/45.45, allocations: 153.9 kB / 11.89 GB, free: 9.613 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0007398/45.45, allocations: 0.6164 MB / 11.89 GB, free: 9.168 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01318/45.47, allocations: 7.815 MB / 11.9 GB, free: 5.992 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01521/45.48, allocations: 10.58 MB / 11.91 GB, free: 15.44 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01446/45.5, allocations: 8.806 MB / 11.92 GB, free: 11.9 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.535e-05/45.5, allocations: 17 kB / 11.92 GB, free: 11.9 MB / 1.026 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.05392/45.55, allocations: 25.96 MB / 11.94 GB, free: 1.719 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.8308/46.38, allocations: 34.9 MB / 11.98 GB, free: 47.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000219/46.38, allocations: 54.86 kB / 11.98 GB, free: 47.18 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5943/46.98, allocations: 146.4 MB / 12.12 GB, free: 46.82 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/46.99, allocations: 1.959 MB / 12.12 GB, free: 46.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03525/47.02, allocations: 24.61 MB / 12.15 GB, free: 41.68 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0181/47.04, allocations: 1.369 MB / 12.15 GB, free: 41.61 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002358/47.04, allocations: 0.81 MB / 12.15 GB, free: 41.61 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/47.04, allocations: 3.562 kB / 12.15 GB, free: 41.61 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03616/47.08, allocations: 24.92 MB / 12.17 GB, free: 41.17 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/47.08, allocations: 58.17 kB / 12.17 GB, free: 41.17 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5932/47.67, allocations: 146.8 MB / 12.32 GB, free: 496 kB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009499/47.68, allocations: 1.954 MB / 12.32 GB, free: 14.67 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.785/48.47, allocations: 28.86 MB / 12.35 GB, free: 123.5 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02054/48.49, allocations: 1.334 MB / 12.35 GB, free: 123.5 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004053/48.49, allocations: 0.7696 MB / 12.35 GB, free: 123.5 MB / 1.073 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 747 * 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,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.005345/48.5, allocations: 0.5645 MB / 12.35 GB, free: 123.4 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005303/48.5, allocations: 1.301 MB / 12.35 GB, free: 123.4 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07164/48.57, allocations: 26.7 MB / 12.38 GB, free: 122.9 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001208/48.57, allocations: 78.06 kB / 12.38 GB, free: 122.9 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-05/48.57, allocations: 3.953 kB / 12.38 GB, free: 122.9 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05428/48.63, allocations: 21.12 MB / 12.4 GB, free: 122.4 MB / 1.073 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.1761/48.8, allocations: 60.05 MB / 12.46 GB, free: 116.1 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-05/48.8, allocations: 12.17 kB / 12.46 GB, free: 116.1 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006844/48.81, allocations: 1.354 MB / 12.46 GB, free: 116.1 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1699/48.98, allocations: 41.92 MB / 12.5 GB, free: 116 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002263/48.98, allocations: 202.8 kB / 12.5 GB, free: 116 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02104/49, allocations: 13.64 MB / 12.51 GB, free: 110.9 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.699e-06/49, allocations: 11.06 kB / 12.51 GB, free: 110.9 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08942/49.09, allocations: 38.66 MB / 12.55 GB, free: 107.4 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009593/49.1, allocations: 3.127 MB / 12.55 GB, free: 106.5 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00479/49.11, allocations: 134.4 kB / 12.55 GB, free: 106.5 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01347/49.12, allocations: 1.073 MB / 12.55 GB, free: 106.5 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001542/49.12, allocations: 472.8 kB / 12.55 GB, free: 106.5 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001277/49.13, allocations: 313.5 kB / 12.55 GB, free: 106.5 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01693/49.14, allocations: 9.735 MB / 12.56 GB, free: 106.1 MB / 1.073 GB Notification: Performance of sort global known variables: time 4.11e-07/49.14, allocations: 0.875 kB / 12.56 GB, free: 106.1 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.04267/49.18, allocations: 7.208 MB / 12.57 GB, free: 106.1 MB / 1.073 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (537): * Single equations (assignments): 515 * 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 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.09426/49.28, allocations: 44.18 MB / 12.61 GB, free: 99.36 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0592/49.34, allocations: 32.94 MB / 12.65 GB, free: 82.62 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/49.34, allocations: 0 / 12.65 GB, free: 82.62 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01569/49.35, allocations: 8.95 MB / 12.65 GB, free: 76.45 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03249/49.39, allocations: 6.734 MB / 12.66 GB, free: 72 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05325/49.44, allocations: 26.56 MB / 12.69 GB, free: 49.14 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005513/49.45, allocations: 7.73 MB / 12.69 GB, free: 43.77 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.02367/49.47, allocations: 6.812 MB / 12.7 GB, free: 39.25 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007176/49.48, allocations: 6.441 MB / 12.71 GB, free: 33.32 MB / 1.073 GB Notification: Performance of SimCode: time 1.653e-06/49.48, allocations: 0 / 12.71 GB, free: 33.32 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.955/56.43, allocations: 0.5641 GB / 13.27 GB, free: 126.7 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/56.43, allocations: 224.6 kB / 13.27 GB, free: 126.5 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.58/91.01, allocations: 2.812 kB / 13.27 GB, free: 126.5 MB / 1.104 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)