Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestSplitter3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestSplitter3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7802/0.7802, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.799e-05, allocations: 0 / 204.9 MB, free: 9.98 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1392, allocations: 31.99 MB / 236.8 MB, free: 4.777 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3): time 1.49/1.629, allocations: 295.7 MB / 0.5201 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03979/1.669, allocations: 37.28 MB / 0.5565 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/1.669, allocations: 8 kB / 0.5565 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/1.669, allocations: 115.3 kB / 0.5566 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/1.67, allocations: 178.6 kB / 0.5568 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01836/1.688, allocations: 7.378 MB / 0.564 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007951/1.689, allocations: 0.6882 MB / 0.5646 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/1.689, allocations: 276.1 kB / 0.5649 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/1.689, allocations: 234.8 kB / 0.5651 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/1.69, allocations: 214.8 kB / 0.5653 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/1.69, allocations: 20 kB / 0.5654 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02744/1.717, allocations: 17.81 MB / 0.5827 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/1.717, allocations: 79.58 kB / 0.5828 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003934/1.718, allocations: 300.1 kB / 0.5831 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01754/1.735, allocations: 8.701 MB / 0.5916 GB, free: 2.945 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.735, allocations: 0 / 0.5916 GB, free: 2.945 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.615e-06/1.735, allocations: 0 / 0.5916 GB, free: 2.945 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/1.735, allocations: 0 / 0.5916 GB, free: 2.945 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004143/1.739, allocations: 1.63 MB / 0.5932 GB, free: 1.262 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.739, allocations: 8.031 kB / 0.5932 GB, free: 1.254 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/1.74, allocations: 118.4 kB / 0.5933 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.497e-05/1.74, allocations: 71.09 kB / 0.5934 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/1.74, allocations: 330.1 kB / 0.5937 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/1.74, allocations: 37.31 kB / 0.5937 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/1.74, allocations: 56 kB / 0.5938 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009607/1.741, allocations: 0.6747 MB / 0.5945 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/1.741, allocations: 0 / 0.5945 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/1.741, allocations: 31.94 kB / 0.5945 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/1.741, allocations: 27.92 kB / 0.5945 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005556/1.742, allocations: 399.9 kB / 0.5949 GB, free: 15.42 MB / 494.1 MB 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.02087/1.763, allocations: 12.3 MB / 0.6069 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/1.763, allocations: 207.1 kB / 0.6071 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/1.763, allocations: 166.2 kB / 0.6073 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1516/1.915, allocations: 77.93 MB / 0.6834 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/1.915, allocations: 38.56 kB / 0.6834 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 2.164e-06/1.915, allocations: 0 / 0.6834 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.001945/1.917, allocations: 0.9414 MB / 0.6843 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/1.917, allocations: 59.34 kB / 0.6844 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/1.917, allocations: 369.5 kB / 0.6847 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/1.917, allocations: 29.7 kB / 0.6848 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/1.917, allocations: 252.5 kB / 0.685 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/1.918, allocations: 220.7 kB / 0.6852 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/1.918, allocations: 57.69 kB / 0.6853 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.918, allocations: 358.8 kB / 0.6856 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/1.918, allocations: 121 kB / 0.6857 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/1.918, allocations: 254.8 kB / 0.686 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/1.919, allocations: 413.6 kB / 0.6864 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.919, allocations: 0 / 0.6864 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009857/1.92, allocations: 0.5875 MB / 0.6869 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.92, allocations: 8 kB / 0.6869 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.92, allocations: 7.938 kB / 0.6869 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006929/1.92, allocations: 336.4 kB / 0.6873 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/1.921, allocations: 63.91 kB / 0.6873 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/1.922, allocations: 1.844 MB / 0.6891 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/1.922, allocations: 67.2 kB / 0.6892 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/1.922, allocations: 12 kB / 0.6892 GB, free: 4.477 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 14 (sinkP4.C.a,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,sinkP3.C.a,sinkP2.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,sourceP1.C.b,splitter3.Cs2.b,splitter3.Cs1.b,splitter3.Cs3.b,splitter3.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001947/1.923, allocations: 173.9 kB / 0.6894 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/1.923, allocations: 51.31 kB / 0.6894 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/1.924, allocations: 1.206 MB / 0.6906 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008685/1.925, allocations: 0.6228 MB / 0.6912 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.925, allocations: 0 / 0.6912 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/1.925, allocations: 3.984 kB / 0.6912 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/1.928, allocations: 1.914 MB / 0.6931 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.928, allocations: 8.062 kB / 0.6931 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/1.928, allocations: 83.84 kB / 0.6932 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1569/2.085, allocations: 354.3 kB / 0.6935 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.706e-05/2.085, allocations: 14.75 kB / 0.6935 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009917/2.086, allocations: 1.881 MB / 0.6953 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/2.086, allocations: 5.781 kB / 0.6954 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/2.087, allocations: 0.8606 MB / 0.6962 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/2.087, allocations: 198.5 kB / 0.6964 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/2.087, allocations: 22.22 kB / 0.6964 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/2.088, allocations: 24.86 kB / 0.6964 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/2.088, allocations: 55.84 kB / 0.6965 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/2.088, allocations: 21.66 kB / 0.6965 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003642/2.088, allocations: 342.3 kB / 0.6968 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/2.088, allocations: 0 / 0.6968 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003082/2.091, allocations: 1.273 MB / 0.6981 GB, free: 224.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006281/2.098, allocations: 3.075 MB / 0.7011 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008597/2.098, allocations: 0.6217 MB / 0.7017 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.098, allocations: 1.719 kB / 0.7017 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004473/2.099, allocations: 297.4 kB / 0.702 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/2.1, allocations: 258.1 kB / 0.7022 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/2.107, allocations: 5.65 MB / 0.7077 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/2.108, allocations: 0.9308 MB / 0.7086 GB, free: 220 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00024/2.108, allocations: 61.17 kB / 0.7087 GB, free: 219.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/2.108, allocations: 256.5 kB / 0.7089 GB, free: 219.9 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/2.108, allocations: 0.9688 kB / 0.7089 GB, free: 219.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07106/2.179, allocations: 54.85 MB / 0.7625 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/2.179, allocations: 245.9 kB / 0.7627 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.034/6.214, allocations: 4 kB / 0.7627 GB, free: 183.3 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestSplitter3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestSplitter3.fmu > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe 2>&1)