Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestSplitter3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_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.7995/0.7995, allocations: 150.8 MB / 166.1 MB, free: 15.58 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.529e-05/1.54e-05, allocations: 4 kB / 204.9 MB, free: 10.11 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1581, allocations: 31.98 MB / 236.8 MB, free: 5.426 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.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3): time 1.621/1.779, allocations: 296.6 MB / 0.521 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4699/2.249, allocations: 186.8 MB / 0.7034 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007234/2.25, allocations: 16.22 kB / 0.7034 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003932/2.25, allocations: 81.48 kB / 0.7035 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/2.251, allocations: 276.9 kB / 0.7037 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02727/2.279, allocations: 9.123 MB / 0.7126 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001528/2.28, allocations: 1.126 MB / 0.7137 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007548/2.281, allocations: 0.5575 MB / 0.7143 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005851/2.282, allocations: 369.3 kB / 0.7146 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/2.282, allocations: 445.7 kB / 0.7151 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/2.282, allocations: 51.94 kB / 0.7151 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03334/2.316, allocations: 20.26 MB / 0.7349 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005282/2.316, allocations: 172.8 kB / 0.7351 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007748/2.317, allocations: 0.5026 MB / 0.7356 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02622/2.343, allocations: 10.63 MB / 0.7459 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/2.343, allocations: 0 / 0.7459 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.366e-06/2.343, allocations: 0.7812 kB / 0.7459 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.346e-05/2.343, allocations: 2.906 kB / 0.7459 GB, free: 15.16 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.006206/2.35, allocations: 2.199 MB / 0.7481 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/2.35, allocations: 9.125 kB / 0.7481 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/2.35, allocations: 172.8 kB / 0.7483 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/2.35, allocations: 129.1 kB / 0.7484 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005722/2.35, allocations: 0.5076 MB / 0.7489 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/2.351, allocations: 91.44 kB / 0.749 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/2.351, allocations: 112 kB / 0.7491 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/2.352, allocations: 1.195 MB / 0.7502 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/2.352, allocations: 10.03 kB / 0.7502 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.706e-05/2.353, allocations: 51.88 kB / 0.7503 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.734e-05/2.353, allocations: 34.17 kB / 0.7503 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/2.354, allocations: 0.7849 MB / 0.7511 GB, free: 12.68 MB / 0.5919 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.006647/2.361, allocations: 7.925 MB / 0.7588 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/2.361, allocations: 236 kB / 0.7591 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/2.361, allocations: 128.9 kB / 0.7592 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.773/3.134, allocations: 331.3 MB / 1.083 GB, free: 362.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/3.134, allocations: 38.44 kB / 1.083 GB, free: 362.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=29): time 3.487e-06/3.134, allocations: 0 / 1.083 GB, free: 362.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29): time 0.002661/3.137, allocations: 1.03 MB / 1.084 GB, free: 361.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/3.137, allocations: 55.41 kB / 1.084 GB, free: 361.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008071/3.138, allocations: 0.6004 MB / 1.084 GB, free: 361.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/3.138, allocations: 29.52 kB / 1.084 GB, free: 361.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/3.138, allocations: 0.5375 MB / 1.085 GB, free: 360.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/3.138, allocations: 109.5 kB / 1.085 GB, free: 360.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-05/3.139, allocations: 80.84 kB / 1.085 GB, free: 360.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/3.139, allocations: 365.1 kB / 1.085 GB, free: 360.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/3.139, allocations: 179.5 kB / 1.086 GB, free: 360.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/3.139, allocations: 0.4901 MB / 1.086 GB, free: 359.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006787/3.14, allocations: 0.6786 MB / 1.087 GB, free: 358.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/3.14, allocations: 4 kB / 1.087 GB, free: 358.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001765/3.142, allocations: 0.9411 MB / 1.088 GB, free: 358.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/3.142, allocations: 8 kB / 1.088 GB, free: 358.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/3.142, allocations: 12 kB / 1.088 GB, free: 358.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008657/3.143, allocations: 242.8 kB / 1.088 GB, free: 357.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/3.143, allocations: 127.7 kB / 1.088 GB, free: 357.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009104/3.144, allocations: 1.792 MB / 1.09 GB, free: 356.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000587/3.145, allocations: 122.7 kB / 1.09 GB, free: 355.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/3.145, allocations: 43.86 kB / 1.09 GB, free: 355.9 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 23 (splitter3.Cs3.ftype,splitter3.Cs2.ftype,splitter3.Cs1.ftype,sourceP1.C.ftype,splitter3.fluids[1],singularPressureLoss3.fluid,sinkP2.fluid,sinkP3.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,sinkP4.fluid,sourceP1.fluid1,splitter3.fluid1,splitter3.Cs2.diff_on_2,splitter3.Cs2.diff_on_1,singularPressureLoss5.C2.diff_on_1,splitter3.Cs1.diff_on_2,splitter3.Cs1.diff_on_1,singularPressureLoss4.C2.diff_on_1,splitter3.Ce.diff_on_2,sourceP1.C.diff_on_2,singularPressureLoss3.C2.diff_on_1,splitter3.Cs3.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000339/3.145, allocations: 234.3 kB / 1.09 GB, free: 355.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/3.145, allocations: 65.44 kB / 1.09 GB, free: 355.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/3.146, allocations: 0.6067 MB / 1.091 GB, free: 355.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/3.146, allocations: 8 kB / 1.091 GB, free: 355.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/3.146, allocations: 0 / 1.091 GB, free: 355.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/3.146, allocations: 7.922 kB / 1.091 GB, free: 355.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007725/3.154, allocations: 5.71 MB / 1.096 GB, free: 349.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/3.154, allocations: 6.188 kB / 1.096 GB, free: 349.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/3.154, allocations: 20.73 kB / 1.096 GB, free: 349.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000704/3.155, allocations: 223.3 kB / 1.097 GB, free: 349 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/3.155, allocations: 11.88 kB / 1.097 GB, free: 349 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007693/3.156, allocations: 1.76 MB / 1.098 GB, free: 347.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/3.156, allocations: 0 / 1.098 GB, free: 347.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009633/3.157, allocations: 0.6019 MB / 1.099 GB, free: 346.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/3.157, allocations: 171.6 kB / 1.099 GB, free: 346.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/3.157, allocations: 7.875 kB / 1.099 GB, free: 346.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/3.157, allocations: 31.83 kB / 1.099 GB, free: 346.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/3.157, allocations: 19.98 kB / 1.099 GB, free: 346.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/3.157, allocations: 19.86 kB / 1.099 GB, free: 346.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003985/3.158, allocations: 393 kB / 1.1 GB, free: 346.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/3.158, allocations: 0 / 1.1 GB, free: 346.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004029/3.162, allocations: 1.611 MB / 1.101 GB, free: 344.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (14): * Single equations (assignments): 11 * 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), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00757/3.169, allocations: 3.205 MB / 1.104 GB, free: 342.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009879/3.17, allocations: 467.3 kB / 1.105 GB, free: 341.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/3.17, allocations: 0 / 1.105 GB, free: 341.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003388/3.171, allocations: 153 kB / 1.105 GB, free: 341.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009386/3.172, allocations: 160.4 kB / 1.105 GB, free: 341.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008829/3.181, allocations: 6.767 MB / 1.112 GB, free: 335.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/3.181, allocations: 0.9599 MB / 1.113 GB, free: 334.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003736/3.181, allocations: 102.8 kB / 1.113 GB, free: 334.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/3.182, allocations: 311.2 kB / 1.113 GB, free: 334.1 MB / 0.8106 GB Notification: Performance of SimCode: time 6.61e-07/3.182, allocations: 2.062 kB / 1.113 GB, free: 334.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9973/4.179, allocations: 57.87 MB / 1.17 GB, free: 277.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/4.179, allocations: 297.6 kB / 1.17 GB, free: 276.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.467/9.646, allocations: 2.75 kB / 1.17 GB, free: 276.8 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestSplitter3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestSplitter3.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSplitter3.pipe 2>&1)