Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5.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.TestJunctions5,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestJunctions5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestJunctions5,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestJunctions5",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.8364/0.8364, allocations: 150.8 MB / 166.1 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.607e-05/1.608e-05, allocations: 4 kB / 204.9 MB, free: 10.11 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.148, allocations: 31.99 MB / 236.8 MB, free: 5.398 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.TestJunctions5): time 1.864/2.012, allocations: 299.4 MB / 0.5237 GB, free: 6.297 MB / 414.2 MB Notification: Performance of NFInst.instExpressions: time 0.1885/2.2, allocations: 186.9 MB / 0.7062 GB, free: 11.64 MB / 0.592 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008093/2.201, allocations: 12 kB / 0.7062 GB, free: 11.62 MB / 0.592 GB Notification: Performance of NFTyping.typeComponents: time 0.0006902/2.202, allocations: 278.3 kB / 0.7064 GB, free: 11.35 MB / 0.592 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/2.203, allocations: 0.5275 MB / 0.707 GB, free: 10.82 MB / 0.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.03008/2.233, allocations: 9.281 MB / 0.716 GB, free: 1.539 MB / 0.592 GB Notification: Performance of NFFlatten.flatten: time 0.3027/2.536, allocations: 1.983 MB / 0.718 GB, free: 12.46 MB / 0.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/2.537, allocations: 0.6705 MB / 0.7186 GB, free: 12.37 MB / 0.592 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009891/2.538, allocations: 0.659 MB / 0.7193 GB, free: 12.37 MB / 0.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000663/2.539, allocations: 0.664 MB / 0.7199 GB, free: 12.37 MB / 0.592 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/2.539, allocations: 53.91 kB / 0.72 GB, free: 12.37 MB / 0.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02935/2.568, allocations: 20.19 MB / 0.7397 GB, free: 12.36 MB / 0.592 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/2.569, allocations: 238.3 kB / 0.7399 GB, free: 12.36 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.000898/2.57, allocations: 0.7602 MB / 0.7406 GB, free: 12.32 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.01931/2.589, allocations: 11.07 MB / 0.7515 GB, free: 11.11 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/2.589, allocations: 3.391 kB / 0.7515 GB, free: 11.11 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.804e-06/2.589, allocations: 2.906 kB / 0.7515 GB, free: 11.11 MB / 0.592 GB Notification: Performance of Transformations before backend: time 1.576e-05/2.589, allocations: 0 / 0.7515 GB, free: 11.11 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.006304/2.595, allocations: 2.743 MB / 0.7541 GB, free: 9.387 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/2.595, allocations: 9.438 kB / 0.7542 GB, free: 9.387 MB / 0.592 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/2.596, allocations: 232 kB / 0.7544 GB, free: 9.297 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/2.596, allocations: 188.9 kB / 0.7546 GB, free: 9.195 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/2.596, allocations: 0.6429 MB / 0.7552 GB, free: 8.777 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/2.596, allocations: 97.27 kB / 0.7553 GB, free: 8.773 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/2.596, allocations: 118.4 kB / 0.7554 GB, free: 8.773 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/2.598, allocations: 1.717 MB / 0.7571 GB, free: 8.121 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/2.599, allocations: 6 kB / 0.7571 GB, free: 8.121 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/2.599, allocations: 56.78 kB / 0.7571 GB, free: 8.121 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/2.599, allocations: 71.75 kB / 0.7572 GB, free: 8.105 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/2.6, allocations: 1.197 MB / 0.7584 GB, free: 7.945 MB / 0.592 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.08701/2.688, allocations: 51.35 MB / 0.8085 GB, free: 13.65 MB / 0.6389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/2.689, allocations: 0.8403 MB / 0.8093 GB, free: 13.15 MB / 0.6389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/2.69, allocations: 0.6434 MB / 0.81 GB, free: 12.79 MB / 0.6389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3108/3.001, allocations: 151.8 MB / 0.9582 GB, free: 7.301 MB / 0.7952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/3.001, allocations: 40.02 kB / 0.9582 GB, free: 7.258 MB / 0.7952 GB Notification: Performance of pre-optimization done (n=204): time 3.797e-06/3.001, allocations: 1.75 kB / 0.9582 GB, free: 7.258 MB / 0.7952 GB Notification: Performance of matching and sorting (n=204): time 0.009097/3.01, allocations: 3.203 MB / 0.9613 GB, free: 4.668 MB / 0.7952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/3.01, allocations: 85.67 kB / 0.9614 GB, free: 4.566 MB / 0.7952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/3.011, allocations: 0.8058 MB / 0.9622 GB, free: 3.922 MB / 0.7952 GB Notification: Performance of collectPreVariables (initialization): time 8.499e-05/3.011, allocations: 37.08 kB / 0.9622 GB, free: 3.887 MB / 0.7952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/3.012, allocations: 0.5585 MB / 0.9628 GB, free: 3.5 MB / 0.7952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/3.012, allocations: 0.6555 MB / 0.9634 GB, free: 2.922 MB / 0.7952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/3.013, allocations: 152.7 kB / 0.9636 GB, free: 2.82 MB / 0.7952 GB Notification: Performance of setup shared object (initialization): time 8.279e-05/3.013, allocations: 305.1 kB / 0.9639 GB, free: 2.52 MB / 0.7952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009818/3.014, allocations: 0.499 MB / 0.9644 GB, free: 2.203 MB / 0.7952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/3.015, allocations: 0.8064 MB / 0.9651 GB, free: 1.5 MB / 0.7952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/3.017, allocations: 1.462 MB / 0.9666 GB, free: 448 kB / 0.7952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/3.017, allocations: 4 kB / 0.9666 GB, free: 444 kB / 0.7952 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.003525/3.021, allocations: 1.914 MB / 0.9684 GB, free: 15.16 MB / 0.8108 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/3.021, allocations: 15.84 kB / 0.9685 GB, free: 15.14 MB / 0.8108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/3.021, allocations: 9.859 kB / 0.9685 GB, free: 15.14 MB / 0.8108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007342/3.028, allocations: 2.308 MB / 0.9707 GB, free: 12.97 MB / 0.8108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/3.029, allocations: 120.5 kB / 0.9708 GB, free: 12.87 MB / 0.8108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/3.032, allocations: 1.698 MB / 0.9725 GB, free: 11.59 MB / 0.8108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/3.033, allocations: 205.5 kB / 0.9727 GB, free: 11.4 MB / 0.8108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/3.033, allocations: 43.56 kB / 0.9727 GB, free: 11.37 MB / 0.8108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 30 (splitter2_2.Cs2.b,splitter2_2.Cs1.b,splitter2_2.Ce.a,splitter2_1.Cs2.b,splitter2_1.Cs1.b,splitter2_1.Ce.a,pipe2.C2.b,pipe2.C1.a,pipe1.C2.b,pipe1.C1.a,puitsP2.C.a,valve5.C2.b,valve5.C1.a,volumeB1.Cs2.b,volumeB1.Cs1.b,volumeB1.Ce2.a,volumeB1.Ce1.a,valve3.C2.b,valve3.C1.a,valve2.C2.b,valve2.C1.a,puitsP1.C.a,valve4.C2.b,valve4.C1.a,puitsP.C.a,valve1.C2.b,valve1.C1.a,sourceP1.C.b,sourceP.C.b,volumeB1.Cs1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(17,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0006691/3.034, allocations: 300.3 kB / 0.973 GB, free: 11.16 MB / 0.8108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/3.034, allocations: 130.2 kB / 0.9731 GB, free: 11.03 MB / 0.8108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007147/3.041, allocations: 6.127 MB / 0.9791 GB, free: 5.703 MB / 0.8108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003529/3.045, allocations: 2.057 MB / 0.9811 GB, free: 3.602 MB / 0.8108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/3.045, allocations: 0 / 0.9811 GB, free: 3.602 MB / 0.8108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/3.045, allocations: 7.969 kB / 0.9811 GB, free: 3.594 MB / 0.8108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1915/3.237, allocations: 4.781 MB / 0.9858 GB, free: 454 MB / 0.8108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/3.237, allocations: 0 / 0.9858 GB, free: 454 MB / 0.8108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/3.237, allocations: 229.2 kB / 0.986 GB, free: 454 MB / 0.8108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005113/3.243, allocations: 1.727 MB / 0.9877 GB, free: 453.9 MB / 0.8108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/3.243, allocations: 33.28 kB / 0.9878 GB, free: 453.9 MB / 0.8108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00292/3.246, allocations: 2.676 MB / 0.9904 GB, free: 452.4 MB / 0.8108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/3.246, allocations: 1.938 kB / 0.9904 GB, free: 452.4 MB / 0.8108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005424/3.251, allocations: 3.136 MB / 0.9934 GB, free: 452.1 MB / 0.8108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000743/3.252, allocations: 403.9 kB / 0.9938 GB, free: 452 MB / 0.8108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/3.252, allocations: 32.58 kB / 0.9938 GB, free: 452 MB / 0.8108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/3.253, allocations: 96.44 kB / 0.9939 GB, free: 452 MB / 0.8108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/3.253, allocations: 107 kB / 0.994 GB, free: 452 MB / 0.8108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/3.253, allocations: 44.3 kB / 0.9941 GB, free: 452 MB / 0.8108 GB Notification: Performance of sorting global known variables: time 0.0009935/3.254, allocations: 0.7095 MB / 0.9948 GB, free: 451.9 MB / 0.8108 GB Notification: Performance of sort global known variables: time 1.6e-07/3.254, allocations: 0.6562 kB / 0.9948 GB, free: 451.9 MB / 0.8108 GB Notification: Performance of remove unused functions: time 0.005708/3.26, allocations: 1.825 MB / 0.9966 GB, free: 451.8 MB / 0.8108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volumeB1.P,volumeB1.h) * 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 (127): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * 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): 3 systems {(7,14), (7,14), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01504/3.275, allocations: 5.937 MB / 1.002 GB, free: 450.8 MB / 0.8108 GB Notification: Performance of simCode: created initialization part: time 0.00436/3.28, allocations: 2.212 MB / 1.005 GB, free: 450.2 MB / 0.8108 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/3.28, allocations: 0.7188 kB / 1.005 GB, free: 450.2 MB / 0.8108 GB Notification: Performance of simCode: created simulation system equations: time 0.002495/3.282, allocations: 1.134 MB / 1.006 GB, free: 450.1 MB / 0.8108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/3.286, allocations: 0.68 MB / 1.006 GB, free: 450.1 MB / 0.8108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/3.307, allocations: 13.28 MB / 1.019 GB, free: 445.3 MB / 0.8108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009479/3.308, allocations: 1.392 MB / 1.021 GB, free: 444.5 MB / 0.8108 GB Notification: Performance of simCode: alias equations: time 0.0007628/3.309, allocations: 149.7 kB / 1.021 GB, free: 444.5 MB / 0.8108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007356/3.309, allocations: 0.7592 MB / 1.022 GB, free: 444.1 MB / 0.8108 GB Notification: Performance of SimCode: time 9.82e-07/3.309, allocations: 0 / 1.022 GB, free: 444.1 MB / 0.8108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1164/3.426, allocations: 88.51 MB / 1.108 GB, free: 370 MB / 0.8108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/3.426, allocations: 275.4 kB / 1.108 GB, free: 369.6 MB / 0.8108 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.545/8.971, allocations: 64 / 1.108 GB, free: 369.6 MB / 0.8108 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestJunctions5_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestJunctions5.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions5.pipe 2>&1)