Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.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.SimpleExamples.TestFlueGasesJunctions,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesJunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesJunctions",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.8007/0.8007, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.804e-05, allocations: 4 kB / 204.9 MB, free: 9.98 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1478, allocations: 31.98 MB / 236.8 MB, free: 5.43 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.SimpleExamples.TestFlueGasesJunctions): time 1.502/1.65, allocations: 296.6 MB / 0.5209 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1404/1.791, allocations: 146.2 MB / 0.6637 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/1.791, allocations: 4 kB / 0.6637 GB, free: 8.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001566/1.791, allocations: 87.2 kB / 0.6638 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004868/1.792, allocations: 242 kB / 0.664 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/1.793, allocations: 0.5122 MB / 0.6645 GB, free: 7.844 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008849/1.794, allocations: 1.105 MB / 0.6656 GB, free: 6.734 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005874/1.794, allocations: 0.5588 MB / 0.6662 GB, free: 6.152 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/1.795, allocations: 342.6 kB / 0.6665 GB, free: 5.816 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/1.795, allocations: 445.8 kB / 0.6669 GB, free: 5.379 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.012e-05/1.795, allocations: 60 kB / 0.667 GB, free: 5.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/1.796, allocations: 0.5853 MB / 0.6675 GB, free: 4.734 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/1.796, allocations: 179.2 kB / 0.6677 GB, free: 4.559 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003755/1.797, allocations: 0.4952 MB / 0.6682 GB, free: 4.055 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/1.798, allocations: 1.464 MB / 0.6696 GB, free: 2.586 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/1.798, allocations: 0 / 0.6696 GB, free: 2.586 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/1.798, allocations: 4 kB / 0.6696 GB, free: 2.582 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.229e-05/1.798, allocations: 0 / 0.6696 GB, free: 2.582 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.001527/1.799, allocations: 1.089 MB / 0.6707 GB, free: 1.441 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.8, allocations: 16.02 kB / 0.6707 GB, free: 1.426 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/1.8, allocations: 182.2 kB / 0.6709 GB, free: 1.238 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/1.8, allocations: 123.6 kB / 0.671 GB, free: 1.117 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/1.8, allocations: 466.1 kB / 0.6715 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/1.8, allocations: 90.52 kB / 0.6715 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/1.801, allocations: 120 kB / 0.6717 GB, free: 424 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/1.802, allocations: 1.289 MB / 0.6729 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/1.802, allocations: 7.984 kB / 0.6729 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.33e-05/1.802, allocations: 55.98 kB / 0.673 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/1.802, allocations: 36 kB / 0.673 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/1.804, allocations: 0.8376 MB / 0.6738 GB, free: 14.07 MB / 0.5606 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.005408/1.809, allocations: 7.456 MB / 0.6811 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007796/1.81, allocations: 463 kB / 0.6815 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/1.81, allocations: 333.1 kB / 0.6819 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/1.811, allocations: 242.1 kB / 0.6821 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/1.811, allocations: 38.56 kB / 0.6821 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=51): time 1.633e-06/1.811, allocations: 0 / 0.6821 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=51): time 0.003053/1.814, allocations: 1.552 MB / 0.6836 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/1.814, allocations: 85.11 kB / 0.6837 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/1.815, allocations: 0.6004 MB / 0.6843 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/1.815, allocations: 33.7 kB / 0.6843 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00026/1.815, allocations: 451 kB / 0.6848 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/1.815, allocations: 181.4 kB / 0.6849 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-05/1.815, allocations: 81.66 kB / 0.685 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.815, allocations: 366.8 kB / 0.6854 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/1.816, allocations: 205.2 kB / 0.6856 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/1.816, allocations: 400.1 kB / 0.686 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007845/1.817, allocations: 0.6551 MB / 0.6866 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.817, allocations: 4 kB / 0.6866 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001529/1.818, allocations: 0.8893 MB / 0.6875 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.818, allocations: 8 kB / 0.6875 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.818, allocations: 4 kB / 0.6875 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/1.819, allocations: 297 kB / 0.6878 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/1.82, allocations: 103.8 kB / 0.6879 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/1.822, allocations: 4.06 MB / 0.6918 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/1.823, allocations: 98.81 kB / 0.6919 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/1.823, allocations: 31.98 kB / 0.692 GB, free: 10.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 24 (sinkP2.C.a,sourceP2.C.b,sourceP1.C.b,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,mixer2_1.Ce1.a,mixer2_1.Cs.b,mixer2_1.Ce2.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP1.C.a,sinkP.C.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sourceP.C.b,splitter2.Cs2.b,splitter2.Cs1.b,splitter2.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002957/1.823, allocations: 232 kB / 0.6922 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/1.823, allocations: 71.16 kB / 0.6922 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/1.824, allocations: 0.7225 MB / 0.6929 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/1.824, allocations: 4 kB / 0.6929 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.824, allocations: 0 / 0.6929 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.824, allocations: 12.16 kB / 0.693 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/1.828, allocations: 2.251 MB / 0.6952 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.828, allocations: 4 kB / 0.6952 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/1.828, allocations: 63.89 kB / 0.6952 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009666/1.829, allocations: 265.5 kB / 0.6955 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/1.829, allocations: 16 kB / 0.6955 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/1.831, allocations: 4.01 MB / 0.6994 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.831, allocations: 4 kB / 0.6994 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/1.833, allocations: 0.9706 MB / 0.7004 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/1.833, allocations: 160.2 kB / 0.7005 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/1.833, allocations: 19.92 kB / 0.7005 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/1.833, allocations: 27.91 kB / 0.7006 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/1.833, allocations: 43.83 kB / 0.7006 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/1.833, allocations: 27.98 kB / 0.7006 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004365/1.834, allocations: 427.1 kB / 0.701 GB, free: 252 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.834, allocations: 4 kB / 0.701 GB, free: 248 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.1458/1.98, allocations: 281.8 kB / 0.7013 GB, free: 235.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (32): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001952/1.982, allocations: 1.634 MB / 0.7029 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001208/1.983, allocations: 0.5876 MB / 0.7035 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.983, allocations: 1.844 kB / 0.7035 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000641/1.984, allocations: 294.9 kB / 0.7038 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/1.985, allocations: 143.2 kB / 0.7039 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008009/1.993, allocations: 7.468 MB / 0.7112 GB, free: 230.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/1.993, allocations: 0.9628 MB / 0.7121 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002487/1.993, allocations: 73.02 kB / 0.7122 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/1.994, allocations: 319.2 kB / 0.7125 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/1.994, allocations: 3.219 kB / 0.7125 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/2.024, allocations: 17.63 MB / 0.7297 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/2.024, allocations: 238.9 kB / 0.73 GB, free: 227 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/4.161, allocations: 0 / 0.73 GB, free: 227 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesJunctions_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesJunctions.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.pipe 2>&1)