Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.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.TestJunctions3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestJunctions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestJunctions3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestJunctions3",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.8706/0.8706, allocations: 150.8 MB / 166.1 MB, free: 15.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.598e-05/1.593e-05, allocations: 4 kB / 204.9 MB, free: 9.977 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1389, allocations: 31.99 MB / 236.8 MB, free: 5.391 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.TestJunctions3): time 1.531/1.67, allocations: 298.9 MB / 0.5232 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4855/2.156, allocations: 186.7 MB / 0.7055 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007049/2.156, allocations: 10.81 kB / 0.7055 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006295/2.157, allocations: 240.7 kB / 0.7057 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009319/2.158, allocations: 461.1 kB / 0.7062 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02314/2.181, allocations: 9.233 MB / 0.7152 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002031/2.183, allocations: 1.819 MB / 0.717 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006341/2.184, allocations: 0.5867 MB / 0.7175 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/2.184, allocations: 0.6074 MB / 0.7181 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005328/2.185, allocations: 0.6057 MB / 0.7187 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.261e-05/2.185, allocations: 57.38 kB / 0.7188 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03089/2.216, allocations: 20.21 MB / 0.7385 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003774/2.216, allocations: 215.9 kB / 0.7387 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/2.217, allocations: 0.7164 MB / 0.7394 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02359/2.241, allocations: 10.94 MB / 0.7501 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/2.241, allocations: 0 / 0.7501 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.595e-06/2.241, allocations: 5.859 kB / 0.7501 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.989e-05/2.241, allocations: 0 / 0.7501 GB, free: 14.14 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.007061/2.248, allocations: 2.568 MB / 0.7526 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/2.248, allocations: 8.062 kB / 0.7526 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/2.249, allocations: 229.2 kB / 0.7528 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/2.249, allocations: 174.3 kB / 0.753 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/2.249, allocations: 0.5667 MB / 0.7536 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-05/2.25, allocations: 99.73 kB / 0.7537 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/2.25, allocations: 128.9 kB / 0.7538 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/2.252, allocations: 1.776 MB / 0.7555 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/2.252, allocations: 11.09 kB / 0.7555 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.323e-05/2.252, allocations: 58 kB / 0.7556 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.34e-05/2.252, allocations: 60.59 kB / 0.7556 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/2.254, allocations: 1.062 MB / 0.7567 GB, free: 10.95 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.06228/2.316, allocations: 36.91 MB / 0.7927 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/2.317, allocations: 0.6205 MB / 0.7933 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006561/2.318, allocations: 437.2 kB / 0.7937 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3059/2.624, allocations: 151.8 MB / 0.942 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/2.624, allocations: 38.5 kB / 0.942 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=146): time 2.474e-06/2.624, allocations: 0 / 0.942 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of matching and sorting (n=146): time 0.00746/2.631, allocations: 2.343 MB / 0.9443 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/2.631, allocations: 59.78 kB / 0.9443 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/2.632, allocations: 0.8193 MB / 0.9451 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/2.632, allocations: 34.8 kB / 0.9452 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/2.633, allocations: 0.648 MB / 0.9458 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/2.633, allocations: 489.5 kB / 0.9463 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/2.633, allocations: 168.1 kB / 0.9464 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001203/2.633, allocations: 350.9 kB / 0.9468 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007479/2.634, allocations: 405.1 kB / 0.9472 GB, free: 304 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/2.635, allocations: 1.076 MB / 0.9482 GB, free: 15.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/2.638, allocations: 1.654 MB / 0.9498 GB, free: 13.21 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/2.638, allocations: 4.938 kB / 0.9498 GB, free: 13.21 MB / 0.795 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00307/2.641, allocations: 1.838 MB / 0.9516 GB, free: 11.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/2.641, allocations: 19.94 kB / 0.9516 GB, free: 11.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-05/2.641, allocations: 20 kB / 0.9517 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004735/2.645, allocations: 1.401 MB / 0.953 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/2.646, allocations: 172.2 kB / 0.9532 GB, free: 9.902 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/2.648, allocations: 1.314 MB / 0.9545 GB, free: 8.582 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009876/2.649, allocations: 229.7 kB / 0.9547 GB, free: 8.355 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.449e-05/2.649, allocations: 76 kB / 0.9548 GB, free: 8.281 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 60 (staticVolume2.Ce4.a,staticVolume2.Ce8.a,staticVolume2.Cs.b,staticVolume2.Ce1.a,staticVolume2.Ce2.a,staticVolume2.Ce3.a,staticVolume2.Ce7.a,staticVolume2.Ce6.a,staticVolume2.Ce5.a,staticVolume1.Ce4.a,staticVolume1.Ce8.a,staticVolume1.Cs.b,staticVolume1.Ce1.a,staticVolume1.Ce2.a,staticVolume1.Ce3.a,staticVolume1.Ce7.a,staticVolume1.Ce6.a,staticVolume1.Ce5.a,staticVolume.Ce4.a,staticVolume.Ce8.a,staticVolume.Cs.b,staticVolume.Ce1.a,staticVolume.Ce2.a,staticVolume.Ce3.a,staticVolume.Ce7.a,staticVolume.Ce6.a,staticVolume.Ce5.a,pipe2.C2.b,pipe2.C1.a,pipe1.C2.b,pipe1.C1.a,puitsP2.C.a,valve3.C2.b,valve3.C1.a,valve2.C2.b,valve2.C1.a,valve1.C2.b,valve1.C1.a,sourceP1.C.b,sourceP.C.b,staticVolume2.Ce8.b,staticVolume2.Ce7.b,staticVolume2.Ce6.b,staticVolume2.Ce5.b,staticVolume2.Ce3.b,staticVolume2.Ce2.b,staticVolume2.Ce1.b,staticVolume1.Ce7.b,staticVolume1.Ce6.b,staticVolume1.Ce5.b,staticVolume1.Ce4.b,staticVolume1.Ce3.b,staticVolume1.Ce2.b,staticVolume.Ce8.b,staticVolume.Ce7.b,staticVolume.Ce6.b,staticVolume.Ce5.b,staticVolume.Ce3.b,staticVolume.Ce2.b,staticVolume.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(13,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0004664/2.649, allocations: 343.9 kB / 0.9551 GB, free: 7.961 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/2.65, allocations: 116.2 kB / 0.9552 GB, free: 7.852 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004446/2.654, allocations: 4.097 MB / 0.9592 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002199/2.656, allocations: 1.472 MB / 0.9606 GB, free: 2.168 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/2.656, allocations: 3.984 kB / 0.9606 GB, free: 2.164 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/2.656, allocations: 11.98 kB / 0.9607 GB, free: 2.152 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005111/2.661, allocations: 3.606 MB / 0.9642 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/2.661, allocations: 0 / 0.9642 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/2.662, allocations: 168.6 kB / 0.9643 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003454/2.665, allocations: 1.26 MB / 0.9656 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/2.665, allocations: 24 kB / 0.9656 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/2.667, allocations: 1.391 MB / 0.967 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/2.667, allocations: 3.984 kB / 0.967 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/2.67, allocations: 1.686 MB / 0.9686 GB, free: 9.988 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004433/2.67, allocations: 326.7 kB / 0.9689 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/2.67, allocations: 20 kB / 0.9689 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005613/2.671, allocations: 71.8 kB / 0.969 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/2.671, allocations: 77.97 kB / 0.9691 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/2.671, allocations: 35.94 kB / 0.9691 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007372/2.672, allocations: 0.6068 MB / 0.9697 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/2.672, allocations: 0 / 0.9697 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004591/2.677, allocations: 1.787 MB / 0.9715 GB, free: 7.047 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (94): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(13,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01572/2.692, allocations: 4.491 MB / 0.9758 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005177/2.697, allocations: 1.809 MB / 0.9776 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/2.697, allocations: 3.281 kB / 0.9776 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002697/2.7, allocations: 0.7727 MB / 0.9784 GB, free: 276 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2136/2.914, allocations: 0.5029 MB / 0.9789 GB, free: 457.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/2.93, allocations: 11.92 MB / 0.9905 GB, free: 452.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/2.931, allocations: 1.289 MB / 0.9918 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006756/2.932, allocations: 148.7 kB / 0.9919 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/2.932, allocations: 0.6101 MB / 0.9925 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of SimCode: time 3.6e-07/2.932, allocations: 0 / 0.9925 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/3.035, allocations: 79.58 MB / 1.07 GB, free: 396.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/3.035, allocations: 267.8 kB / 1.07 GB, free: 396.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.191/8.226, allocations: 0 / 1.07 GB, free: 396.6 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestJunctions3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestJunctions3.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.pipe 2>&1)