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.000849/0.000849, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.9465/0.9465, allocations: 230.6 MB / 252.7 MB, free: 9.832 MB / 202.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.001743/0.001743, allocations: 205.5 kB / 309.2 MB, free: 1.941 MB / 234.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.4229/0.4229, allocations: 107.1 MB / 472.8 MB, free: 9.902 MB / 330.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.05157/0.05157, allocations: 6.308 MB / 0.5492 GB, free: 1.293 MB / 410.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package OpenIPSL of version 3.0.0. OpenIPSL 3.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 133.8 kB / 0.7249 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3416, allocations: 81.65 MB / 0.8047 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.002978/0.3446, allocations: 2.916 MB / 0.8075 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3465, allocations: 1.727 MB / 0.8092 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.3467, allocations: 7.219 kB / 0.8092 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.3475, allocations: 0.5054 MB / 0.8097 GB, free: 29.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.3478, allocations: 238 kB / 0.8099 GB, free: 29.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006908/0.3485, allocations: 341.7 kB / 0.8102 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004674/0.349, allocations: 0.6656 MB / 0.8109 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.3494, allocations: 321.3 kB / 0.8112 GB, free: 28.72 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.3496, allocations: 275.6 kB / 0.8115 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.3499, allocations: 277.7 kB / 0.8117 GB, free: 28.47 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/0.35, allocations: 53.5 kB / 0.8118 GB, free: 28.47 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/0.3503, allocations: 297.1 kB / 0.8121 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.3504, allocations: 135 kB / 0.8122 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.3505, allocations: 234.9 kB / 0.8124 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.3512, allocations: 0.7702 MB / 0.8132 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3512, allocations: 0 / 0.8132 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3512, allocations: 3.125 kB / 0.8132 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.3512, allocations: 4 kB / 0.8132 GB, free: 27.9 MB / 0.5261 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.001227/0.3524, allocations: 0.9466 MB / 0.8141 GB, free: 27.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3524, allocations: 9.5 kB / 0.8141 GB, free: 27.21 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.253e-05/0.3525, allocations: 76 kB / 0.8142 GB, free: 27.15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004224/0.3529, allocations: 99.98 kB / 0.8143 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.3534, allocations: 376.1 kB / 0.8146 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3534, allocations: 24.47 kB / 0.8147 GB, free: 26.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.3534, allocations: 35.84 kB / 0.8147 GB, free: 26.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.3539, allocations: 0.6047 MB / 0.8153 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3539, allocations: 0 / 0.8153 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.3539, allocations: 15.06 kB / 0.8153 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.3539, allocations: 13.12 kB / 0.8153 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.3543, allocations: 251.1 kB / 0.8155 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.3558, allocations: 1.139 MB / 0.8167 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.3561, allocations: 231.1 kB / 0.8169 GB, free: 25.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.3563, allocations: 128.5 kB / 0.817 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3563, allocations: 3.141 kB / 0.817 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.3564, allocations: 45.06 kB / 0.8171 GB, free: 25.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.3564, allocations: 3.984 kB / 0.8171 GB, free: 25.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0004974/0.3569, allocations: 344.4 kB / 0.8174 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.3569, allocations: 295.1 kB / 0.8177 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.3574, allocations: 0.523 MB / 0.8182 GB, free: 24.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3574, allocations: 36.61 kB / 0.8182 GB, free: 24.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3575, allocations: 267.8 kB / 0.8185 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.3576, allocations: 123.3 kB / 0.8186 GB, free: 24.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.753e-05/0.3577, allocations: 72.64 kB / 0.8187 GB, free: 24.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.3577, allocations: 361 kB / 0.819 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.3579, allocations: 85.2 kB / 0.8191 GB, free: 23.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.3581, allocations: 467.3 kB / 0.8195 GB, free: 23.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.3593, allocations: 0.5824 MB / 0.8201 GB, free: 23.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3593, allocations: 3.062 kB / 0.8201 GB, free: 23.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004345/0.3597, allocations: 359.4 kB / 0.8204 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3597, allocations: 6.344 kB / 0.8204 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3598, allocations: 7.938 kB / 0.8205 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3598, allocations: 3.438 kB / 0.8205 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.36, allocations: 93.72 kB / 0.8205 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.36, allocations: 7.797 kB / 0.8206 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.3603, allocations: 36.31 kB / 0.8206 GB, free: 22.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.3603, allocations: 17.78 kB / 0.8206 GB, free: 22.81 MB / 0.5261 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.0002082/0.3605, allocations: 174.1 kB / 0.8208 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.3606, allocations: 55.75 kB / 0.8208 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.361, allocations: 312.3 kB / 0.8211 GB, free: 22.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.361, allocations: 2.781 kB / 0.8211 GB, free: 22.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.361, allocations: 0 / 0.8211 GB, free: 22.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.361, allocations: 1.641 kB / 0.8211 GB, free: 22.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.362, allocations: 0.8954 MB / 0.822 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.362, allocations: 0 / 0.822 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.3623, allocations: 77.41 kB / 0.8221 GB, free: 21.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3623, allocations: 2.875 kB / 0.8221 GB, free: 21.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3623, allocations: 16.11 kB / 0.8221 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.3623, allocations: 7.25 kB / 0.8221 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3623, allocations: 3.719 kB / 0.8221 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.3628, allocations: 0.5746 MB / 0.8227 GB, free: 21.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.3629, allocations: 70.56 kB / 0.8227 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.3629, allocations: 10.45 kB / 0.8227 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.3632, allocations: 18.89 kB / 0.8228 GB, free: 21.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.3632, allocations: 34.56 kB / 0.8228 GB, free: 21.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.3632, allocations: 9.234 kB / 0.8228 GB, free: 21.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003525/0.3636, allocations: 388.1 kB / 0.8232 GB, free: 21.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3636, allocations: 0 / 0.8232 GB, free: 21.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004964/0.3641, allocations: 160.8 kB / 0.8233 GB, free: 21.18 MB / 0.5261 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.0008023/0.3649, allocations: 1.159 MB / 0.8245 GB, free: 20.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000377/0.3652, allocations: 247.7 kB / 0.8247 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3652, allocations: 3.125 kB / 0.8247 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.3654, allocations: 112.7 kB / 0.8248 GB, free: 20.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.366, allocations: 138.7 kB / 0.8249 GB, free: 20.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.3701, allocations: 4.4 MB / 0.8292 GB, free: 17.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.3703, allocations: 233.8 kB / 0.8295 GB, free: 17.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.3706, allocations: 68.83 kB / 0.8295 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.3708, allocations: 182.5 kB / 0.8297 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.3708, allocations: 0 / 0.8297 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.139/0.5098, allocations: 14.6 MB / 0.844 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.44/7.95, allocations: 9.766 kB / 0.844 GB, free: 11.02 MB / 0.5261 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: 11.044019816443324]