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.001665/0.001665, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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 1.012/1.012, allocations: 177.2 MB / 200.3 MB, free: 5.348 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.001409/0.001409, allocations: 165.4 kB / 256.9 MB, free: 12.8 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.2926/0.2926, allocations: 80.24 MB / 393.7 MB, free: 3.035 MB / 362.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.03196/0.03196, allocations: 4.8 MB / 481.8 MB, free: 71.63 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: translateModel(OpenHPL.Examples.Pipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Pipes") translateModel(OpenHPL.Examples.Pipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Pipes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5679 GB, free: 3.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.891e-05, allocations: 2.312 kB / 0.5679 GB, free: 3.828 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.002912/0.002931, allocations: 3.121 MB / 0.5709 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.005006, allocations: 1.82 MB / 0.5727 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.00515, allocations: 3.938 kB / 0.5727 GB, free: 14.85 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006971/0.005847, allocations: 0.5401 MB / 0.5732 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.006175, allocations: 258.1 kB / 0.5735 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.006721, allocations: 338.9 kB / 0.5738 GB, free: 13.72 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004489/0.00717, allocations: 0.6841 MB / 0.5745 GB, free: 13.04 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.00753, allocations: 322.3 kB / 0.5748 GB, free: 12.71 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.007842, allocations: 379 kB / 0.5751 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.00807, allocations: 243.2 kB / 0.5754 GB, free: 12.11 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.008129, allocations: 56 kB / 0.5754 GB, free: 12.05 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.008439, allocations: 287.5 kB / 0.5757 GB, free: 11.77 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/0.008514, allocations: 139.4 kB / 0.5758 GB, free: 11.63 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.008636, allocations: 199.4 kB / 0.576 GB, free: 11.44 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005285/0.009164, allocations: 0.654 MB / 0.5766 GB, free: 10.78 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.009166, allocations: 0 / 0.5766 GB, free: 10.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.009167, allocations: 0 / 0.5766 GB, free: 10.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.009173, allocations: 0 / 0.5766 GB, free: 10.78 MB / 458.7 MB 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.001094/0.01027, allocations: 1.065 MB / 0.5777 GB, free: 9.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.0103, allocations: 8.031 kB / 0.5777 GB, free: 9.652 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.01064, allocations: 120.5 kB / 0.5778 GB, free: 9.535 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.01097, allocations: 371.1 kB / 0.5782 GB, free: 9.141 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.01099, allocations: 25.03 kB / 0.5782 GB, free: 9.113 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.01103, allocations: 36.38 kB / 0.5782 GB, free: 9.078 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.01137, allocations: 0.5462 MB / 0.5788 GB, free: 8.422 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.01138, allocations: 4.125 kB / 0.5788 GB, free: 8.418 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.0114, allocations: 12.38 kB / 0.5788 GB, free: 8.406 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.01141, allocations: 11.94 kB / 0.5788 GB, free: 8.395 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.01156, allocations: 119 kB / 0.5789 GB, free: 8.277 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.01267, allocations: 1.13 MB / 0.58 GB, free: 7.109 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.01285, allocations: 146.9 kB / 0.5801 GB, free: 6.953 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.01296, allocations: 92.23 kB / 0.5802 GB, free: 6.859 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.01298, allocations: 4 kB / 0.5802 GB, free: 6.855 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.013, allocations: 41.39 kB / 0.5803 GB, free: 6.805 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 1.462e-06/0.01301, allocations: 0 / 0.5803 GB, free: 6.805 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003026/0.01331, allocations: 237.2 kB / 0.5805 GB, free: 6.566 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.606e-05/0.01339, allocations: 290.7 kB / 0.5808 GB, free: 6.215 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.01372, allocations: 0.5062 MB / 0.5813 GB, free: 5.691 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.01374, allocations: 33.7 kB / 0.5813 GB, free: 5.652 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.01389, allocations: 327 kB / 0.5816 GB, free: 5.328 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.01394, allocations: 111 kB / 0.5817 GB, free: 5.219 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.01402, allocations: 83.81 kB / 0.5818 GB, free: 5.129 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.01416, allocations: 0.539 MB / 0.5823 GB, free: 4.578 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.01421, allocations: 32.84 kB / 0.5824 GB, free: 4.539 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.01441, allocations: 472.4 kB / 0.5828 GB, free: 3.938 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.01469, allocations: 292.4 kB / 0.5831 GB, free: 3.605 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.0147, allocations: 4 kB / 0.5831 GB, free: 3.602 MB / 458.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002695/0.01497, allocations: 276.9 kB / 0.5834 GB, free: 3.324 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.01498, allocations: 4 kB / 0.5834 GB, free: 3.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01498, allocations: 4 kB / 0.5834 GB, free: 3.316 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.01499, allocations: 7.938 kB / 0.5834 GB, free: 3.309 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.0152, allocations: 103.8 kB / 0.5835 GB, free: 3.207 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.0152, allocations: 4 kB / 0.5835 GB, free: 3.203 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.01535, allocations: 32.09 kB / 0.5835 GB, free: 3.172 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.01536, allocations: 20 kB / 0.5835 GB, free: 3.152 MB / 458.7 MB 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.0001162/0.01548, allocations: 180.5 kB / 0.5837 GB, free: 2.965 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.01554, allocations: 67.62 kB / 0.5838 GB, free: 2.898 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.01578, allocations: 237.5 kB / 0.584 GB, free: 2.664 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.01579, allocations: 11.92 kB / 0.584 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.01579, allocations: 0 / 0.584 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01579, allocations: 0 / 0.584 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.01648, allocations: 0.7672 MB / 0.5847 GB, free: 1.805 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01648, allocations: 4 kB / 0.5847 GB, free: 1.801 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.01664, allocations: 75.91 kB / 0.5848 GB, free: 1.727 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01664, allocations: 4 kB / 0.5848 GB, free: 1.723 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.01666, allocations: 12 kB / 0.5848 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.01666, allocations: 4.344 kB / 0.5848 GB, free: 1.707 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.01666, allocations: 7.938 kB / 0.5848 GB, free: 1.699 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.01703, allocations: 0.5084 MB / 0.5853 GB, free: 1.125 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.01709, allocations: 67.56 kB / 0.5854 GB, free: 1.059 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.01713, allocations: 12 kB / 0.5854 GB, free: 1.047 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.01728, allocations: 19.98 kB / 0.5854 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.0173, allocations: 27.77 kB / 0.5855 GB, free: 1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.01732, allocations: 15.98 kB / 0.5855 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.01751, allocations: 334.7 kB / 0.5858 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01751, allocations: 4 kB / 0.5858 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003349/0.01784, allocations: 163.7 kB / 0.586 GB, free: 0.4961 MB / 458.7 MB 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.0002174/0.01806, allocations: 166.9 kB / 0.5861 GB, free: 332 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.01827, allocations: 172.4 kB / 0.5863 GB, free: 156 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01827, allocations: 0 / 0.5863 GB, free: 156 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.97e-05/0.01835, allocations: 97.27 kB / 0.5864 GB, free: 56 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.01876, allocations: 150.7 kB / 0.5865 GB, free: 15.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.01992, allocations: 0.9828 MB / 0.5875 GB, free: 14.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.519e-05/0.01998, allocations: 114 kB / 0.5876 GB, free: 14.71 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.02014, allocations: 76.38 kB / 0.5877 GB, free: 14.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.02044, allocations: 246 kB / 0.5879 GB, free: 14.4 MB / 474.7 MB Notification: Performance of SimCode: time 4.2e-07/0.02044, allocations: 0 / 0.5879 GB, free: 14.4 MB / 474.7 MB Notification: Performance of Templates: time 0.01007/0.03051, allocations: 9.567 MB / 0.5972 GB, free: 5.051 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.Pipes.makefile [Timeout 660] (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_cvode && ../OpenHPL_OpenHPL.Examples.Pipes -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHPL_OpenHPL.Examples.Pipes.pipe 2>&1) [Timeout 240] (rm -f OpenHPL_OpenHPL.Examples.Pipes_gbode.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Pipes_gbode.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Pipes_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHPL_OpenHPL.Examples.Pipes_gbode.sim & (cd run_gbode && ../OpenHPL_OpenHPL.Examples.Pipes -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHPL_OpenHPL.Examples.Pipes_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHPL_OpenHPL.Examples.Pipes_ida.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Pipes_ida.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Pipes_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHPL_OpenHPL.Examples.Pipes_ida.sim & (cd run_ida && ../OpenHPL_OpenHPL.Examples.Pipes -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHPL_OpenHPL.Examples.Pipes_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9114668327383697]