Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.BranchingPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9182/0.9182, allocations: 177.1 MB / 199.4 MB, free: 5.938 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 152.6 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2945/0.2945, allocations: 80.24 MB / 392.6 MB, free: 2.449 MB / 314.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.04545/0.04545, allocations: 4.796 MB / 480.6 MB, free: 4.418 MB / 394.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenHPL.Examples.BranchingPipes,fileNamePrefix="OpenHPL_OpenHPL_Examples_BranchingPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHPL.Examples.BranchingPipes,fileNamePrefix="OpenHPL_OpenHPL_Examples_BranchingPipes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.6452 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.667e-05, allocations: 4.812 kB / 0.6452 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.002273/0.00229, allocations: 3.176 MB / 0.6483 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.004043, allocations: 1.834 MB / 0.6501 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.004206, allocations: 7.938 kB / 0.6501 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006798/0.004886, allocations: 0.6287 MB / 0.6507 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.005197, allocations: 297.9 kB / 0.651 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.005769, allocations: 380.5 kB / 0.6513 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.006138, allocations: 0.8213 MB / 0.6521 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003688/0.006507, allocations: 344.9 kB / 0.6525 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.006822, allocations: 467.2 kB / 0.6529 GB, free: 99.66 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.00705, allocations: 283.6 kB / 0.6532 GB, free: 99.38 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.007111, allocations: 64 kB / 0.6533 GB, free: 99.32 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.007435, allocations: 304.2 kB / 0.6535 GB, free: 99.02 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.007496, allocations: 160.1 kB / 0.6537 GB, free: 98.86 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.007614, allocations: 231.3 kB / 0.6539 GB, free: 98.64 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.008107, allocations: 0.8854 MB / 0.6548 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.00811, allocations: 4 kB / 0.6548 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.223e-06/0.008111, allocations: 0 / 0.6548 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.008118, allocations: 3.938 kB / 0.6548 GB, free: 97.74 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.00108/0.009198, allocations: 1.094 MB / 0.6559 GB, free: 96.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.009233, allocations: 15.97 kB / 0.6559 GB, free: 96.58 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.009282, allocations: 74.72 kB / 0.6559 GB, free: 96.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003559/0.009638, allocations: 108.4 kB / 0.656 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.01003, allocations: 441.6 kB / 0.6565 GB, free: 95.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.01004, allocations: 25.38 kB / 0.6565 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.01008, allocations: 40.33 kB / 0.6565 GB, free: 95.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.01046, allocations: 0.6847 MB / 0.6572 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01047, allocations: 4.188 kB / 0.6572 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.0105, allocations: 20.12 kB / 0.6572 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.01051, allocations: 8 kB / 0.6572 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.01081, allocations: 283.8 kB / 0.6575 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.012, allocations: 1.255 MB / 0.6587 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.01241, allocations: 332.8 kB / 0.659 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.01261, allocations: 172.8 kB / 0.6592 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.01263, allocations: 7.938 kB / 0.6592 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.01264, allocations: 38.56 kB / 0.6593 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=44): time 1.743e-06/0.01265, allocations: 4 kB / 0.6593 GB, free: 92.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.001306/0.01395, allocations: 1.088 MB / 0.6603 GB, free: 91.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.01399, allocations: 316.4 kB / 0.6606 GB, free: 91.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.0144, allocations: 0.5927 MB / 0.6612 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.01442, allocations: 37.7 kB / 0.6612 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.01451, allocations: 280.9 kB / 0.6615 GB, free: 90.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.01456, allocations: 158.6 kB / 0.6617 GB, free: 90.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.01463, allocations: 94.17 kB / 0.6617 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.018e-05/0.01468, allocations: 374.8 kB / 0.6621 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.01482, allocations: 120.9 kB / 0.6622 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.01503, allocations: 493.6 kB / 0.6627 GB, free: 89.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.01665, allocations: 0.8239 MB / 0.6635 GB, free: 88.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01665, allocations: 0 / 0.6635 GB, free: 88.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005346/0.01719, allocations: 0.494 MB / 0.664 GB, free: 87.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.0172, allocations: 8 kB / 0.664 GB, free: 87.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01721, allocations: 0 / 0.664 GB, free: 87.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/0.01775, allocations: 226.7 kB / 0.6642 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.01789, allocations: 67.91 kB / 0.6643 GB, free: 87.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004472/0.01834, allocations: 0.7829 MB / 0.665 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.01857, allocations: 20.08 kB / 0.665 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.0186, allocations: 23.88 kB / 0.6651 GB, free: 86.66 MB / 0.5105 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.branch1.mdot = 0.0 $DER.mainPipeOut.mdot = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000239/0.01884, allocations: 177.8 kB / 0.6652 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.01889, allocations: 59.62 kB / 0.6653 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005671/0.01946, allocations: 0.5124 MB / 0.6658 GB, free: 85.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.01946, allocations: 4 kB / 0.6658 GB, free: 85.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01947, allocations: 0 / 0.6658 GB, free: 85.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01947, allocations: 3.984 kB / 0.6658 GB, free: 85.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.02054, allocations: 1.056 MB / 0.6668 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.02054, allocations: 4 kB / 0.6668 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.02085, allocations: 132 kB / 0.667 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001925/0.02104, allocations: 80.75 kB / 0.667 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.02106, allocations: 12 kB / 0.6671 GB, free: 84.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.0225, allocations: 4.314 MB / 0.6713 GB, free: 79.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.0225, allocations: 3.984 kB / 0.6713 GB, free: 79.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007675/0.02327, allocations: 0.76 MB / 0.672 GB, free: 79.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.02337, allocations: 79.53 kB / 0.6721 GB, free: 79.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.02342, allocations: 15.94 kB / 0.6721 GB, free: 79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.02369, allocations: 19.98 kB / 0.6721 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.02374, allocations: 36.38 kB / 0.6722 GB, free: 78.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.02376, allocations: 19.98 kB / 0.6722 GB, free: 78.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003482/0.0241, allocations: 438.9 kB / 0.6726 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.0241, allocations: 0 / 0.6726 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004879/0.02459, allocations: 183.8 kB / 0.6728 GB, free: 78.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (reservoir.m,reservoir1.m,branch2.mdot,mainPipeOut.mdot) * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.0256, allocations: 1.377 MB / 0.6741 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005951/0.02619, allocations: 372.7 kB / 0.6745 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.02619, allocations: 0 / 0.6745 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.02668, allocations: 373.6 kB / 0.6748 GB, free: 76.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.02718, allocations: 159.4 kB / 0.675 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.03119, allocations: 5.073 MB / 0.6799 GB, free: 70.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.03131, allocations: 288.8 kB / 0.6802 GB, free: 70.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002244/0.03154, allocations: 88.91 kB / 0.6803 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.03174, allocations: 256.4 kB / 0.6805 GB, free: 70.16 MB / 0.5105 GB Notification: Performance of SimCode: time 1.613e-06/0.03174, allocations: 0 / 0.6805 GB, free: 70.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0915/0.1232, allocations: 19 MB / 0.6991 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.763/8.886, allocations: 10.11 kB / 0.6991 GB, free: 51.55 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenHPL_OpenHPL.Examples.BranchingPipes.pipe ; mkfifo OpenHPL_OpenHPL.Examples.BranchingPipes.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.BranchingPipes.pipe >> ../files/OpenHPL_OpenHPL.Examples.BranchingPipes.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHPL_OpenHPL_Examples_BranchingPipes_fmu --startTime=0 --stopTime=2000 --stepSize=0.4 --timeout=50 --tolerance=0.0001 ../OpenHPL_OpenHPL_Examples_BranchingPipes.fmu) > OpenHPL_OpenHPL.Examples.BranchingPipes.pipe 2>&1) [Timeout 52.5] (rm -f OpenHPL_OpenHPL.Examples.BranchingPipes_fmpy.pipe ; mkfifo OpenHPL_OpenHPL.Examples.BranchingPipes_fmpy.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.BranchingPipes_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHPL_OpenHPL.Examples.BranchingPipes_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHPL_OpenHPL.Examples.BranchingPipes_fmpy_res.csv --start-time 0 --stop-time 2000 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.4 ../OpenHPL_OpenHPL_Examples_BranchingPipes.fmu) > OpenHPL_OpenHPL.Examples.BranchingPipes_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.000803056173027]