Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.Pipes.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.0009588/0.0009588, 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.9483/0.9483, allocations: 177.1 MB / 199.4 MB, free: 5.914 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.001125/0.001125, allocations: 156.6 kB / 256 MB, free: 13.32 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.2916/0.2916, allocations: 80.26 MB / 392.6 MB, free: 2.426 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.02091/0.02091, allocations: 4.79 MB / 480.6 MB, free: 4.445 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.Pipes,fileNamePrefix="OpenHPL_OpenHPL_Examples_Pipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHPL.Examples.Pipes,fileNamePrefix="OpenHPL_OpenHPL_Examples_Pipes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6452 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.323e-05, allocations: 4.812 kB / 0.6452 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.002611/0.002634, allocations: 2.925 MB / 0.648 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00215/0.004785, allocations: 1.738 MB / 0.6497 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.004942, allocations: 7.406 kB / 0.6497 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000705/0.005647, allocations: 0.5245 MB / 0.6503 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.006023, allocations: 245.3 kB / 0.6505 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.006764, allocations: 348.9 kB / 0.6508 GB, free: 102 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.007159, allocations: 0.681 MB / 0.6515 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004462/0.007605, allocations: 314.3 kB / 0.6518 GB, free: 101 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.007936, allocations: 388 kB / 0.6522 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.00815, allocations: 235.2 kB / 0.6524 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.008204, allocations: 52.5 kB / 0.6524 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.008545, allocations: 300 kB / 0.6527 GB, free: 100 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.008606, allocations: 136.1 kB / 0.6528 GB, free: 99.89 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.008735, allocations: 195.4 kB / 0.653 GB, free: 99.7 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.009288, allocations: 0.7812 MB / 0.6538 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.009294, allocations: 0 / 0.6538 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.073e-06/0.009296, allocations: 0 / 0.6538 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.009303, allocations: 3.938 kB / 0.6538 GB, free: 98.91 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001103/0.01041, allocations: 0.9592 MB / 0.6547 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.01044, allocations: 12.03 kB / 0.6547 GB, free: 97.89 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.008e-05/0.0105, allocations: 62.73 kB / 0.6548 GB, free: 97.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/0.01082, allocations: 100.5 kB / 0.6549 GB, free: 97.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.01118, allocations: 383.6 kB / 0.6553 GB, free: 97.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.0112, allocations: 25.03 kB / 0.6553 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.01124, allocations: 28.38 kB / 0.6553 GB, free: 97.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.0116, allocations: 0.6107 MB / 0.6559 GB, free: 96.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.01162, allocations: 192 / 0.6559 GB, free: 96.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.01164, allocations: 20.12 kB / 0.6559 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.01165, allocations: 8 kB / 0.6559 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.01193, allocations: 246.4 kB / 0.6562 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.01309, allocations: 1.144 MB / 0.6573 GB, free: 95.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.01337, allocations: 231.4 kB / 0.6575 GB, free: 94.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.01355, allocations: 132.8 kB / 0.6576 GB, free: 94.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.01357, allocations: 7.938 kB / 0.6577 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.0136, allocations: 38.75 kB / 0.6577 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.0136, allocations: 0 / 0.6577 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.0003991/0.014, allocations: 342 kB / 0.658 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.01404, allocations: 286.7 kB / 0.6583 GB, free: 94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.01439, allocations: 0.5371 MB / 0.6588 GB, free: 93.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.01441, allocations: 29.7 kB / 0.6588 GB, free: 93.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.0145, allocations: 272.5 kB / 0.6591 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.01453, allocations: 111.6 kB / 0.6592 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.0146, allocations: 78.19 kB / 0.6593 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.55e-05/0.01465, allocations: 358.8 kB / 0.6596 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.01475, allocations: 88.84 kB / 0.6597 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.01491, allocations: 467.9 kB / 0.6602 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009835/0.0159, allocations: 0.5598 MB / 0.6607 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.0159, allocations: 0 / 0.6607 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003179/0.01622, allocations: 368.7 kB / 0.6611 GB, free: 90.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.01623, allocations: 11.94 kB / 0.6611 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01624, allocations: 0 / 0.6611 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.01625, allocations: 4 kB / 0.6611 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.01645, allocations: 103.9 kB / 0.6612 GB, free: 90.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01645, allocations: 4 kB / 0.6612 GB, free: 90.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.01664, allocations: 35.73 kB / 0.6612 GB, free: 90.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.01666, allocations: 20.41 kB / 0.6612 GB, free: 90.79 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: Upstream.h = Upstream.h_0 Downstream.h = Downstream.h_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.01685, allocations: 178.1 kB / 0.6614 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.0169, allocations: 55.61 kB / 0.6614 GB, free: 90.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.01721, allocations: 313.6 kB / 0.6617 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.01721, allocations: 4 kB / 0.6618 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.01722, allocations: 0 / 0.6618 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01722, allocations: 0 / 0.6618 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/0.01801, allocations: 0.8886 MB / 0.6626 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.01801, allocations: 4 kB / 0.6626 GB, free: 89.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.01818, allocations: 71.91 kB / 0.6627 GB, free: 89.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.01818, allocations: 7.938 kB / 0.6627 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.0182, allocations: 12.14 kB / 0.6627 GB, free: 89.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.0182, allocations: 8.281 kB / 0.6627 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.01821, allocations: 8 kB / 0.6627 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.01864, allocations: 0.56 MB / 0.6633 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.01871, allocations: 63.62 kB / 0.6633 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.01875, allocations: 23.88 kB / 0.6634 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.01892, allocations: 15.98 kB / 0.6634 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.01894, allocations: 27.91 kB / 0.6634 GB, free: 88.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01895, allocations: 15.98 kB / 0.6634 GB, free: 88.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002518/0.0192, allocations: 382.9 kB / 0.6638 GB, free: 88.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.0192, allocations: 0 / 0.6638 GB, free: 88.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003625/0.01957, allocations: 167.7 kB / 0.6639 GB, free: 87.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 3 (pipeExpanding.mdot,pipeConstant.mdot,pipeContracting.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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006886/0.02026, allocations: 1.156 MB / 0.6651 GB, free: 86.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.02055, allocations: 253.1 kB / 0.6653 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02056, allocations: 7.938 kB / 0.6653 GB, free: 86.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.02066, allocations: 113.6 kB / 0.6654 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.02108, allocations: 134.6 kB / 0.6656 GB, free: 86.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.02418, allocations: 4.3 MB / 0.6698 GB, free: 81.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.0243, allocations: 238.5 kB / 0.67 GB, free: 81.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002008/0.0245, allocations: 68.55 kB / 0.67 GB, free: 81.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.02466, allocations: 184.4 kB / 0.6702 GB, free: 81.15 MB / 0.5105 GB Notification: Performance of SimCode: time 1.253e-06/0.02466, allocations: 0 / 0.6702 GB, free: 81.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09199/0.1167, allocations: 14.66 MB / 0.6845 GB, free: 66.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.36/7.477, allocations: 6.531 kB / 0.6845 GB, free: 66.81 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f OpenHPL_OpenHPL.Examples.Pipes.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Pipes.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Pipes.pipe >> ../files/OpenHPL_OpenHPL.Examples.Pipes.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHPL_OpenHPL_Examples_Pipes_fmu --startTime=0 --stopTime=100 --stepSize=0.02 --timeout=50 --tolerance=1e-06 ../OpenHPL_OpenHPL_Examples_Pipes.fmu) > OpenHPL_OpenHPL.Examples.Pipes.pipe 2>&1) [Timeout 52.5] (rm -f OpenHPL_OpenHPL.Examples.Pipes_fmpy.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Pipes_fmpy.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Pipes_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHPL_OpenHPL.Examples.Pipes_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHPL_OpenHPL.Examples.Pipes_fmpy_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ../OpenHPL_OpenHPL_Examples_Pipes.fmu) > OpenHPL_OpenHPL.Examples.Pipes_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.6954430565238]