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.001027/0.001027, allocations: 81.95 kB / 19.87 MB, free: 4.617 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 0.9934/0.9934, allocations: 177.2 MB / 200.3 MB, free: 5.371 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.001685/0.001685, allocations: 163.6 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.2919/0.2919, allocations: 80.24 MB / 393.7 MB, free: 1.977 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.02155/0.02155, allocations: 4.798 MB / 481.8 MB, free: 3.941 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: 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 2.634e-06/2.634e-06, allocations: 3.938 kB / 0.5679 GB, free: 100 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.231e-05, allocations: 2.312 kB / 0.5679 GB, free: 96 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.004609/0.004642, allocations: 3.125 MB / 0.5709 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.007926, allocations: 1.809 MB / 0.5727 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.008223, allocations: 7.938 kB / 0.5727 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009556/0.009178, allocations: 0.544 MB / 0.5732 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005404/0.009719, allocations: 250.1 kB / 0.5735 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009518/0.01067, allocations: 347 kB / 0.5738 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007218/0.01139, allocations: 0.6882 MB / 0.5745 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.01183, allocations: 310.3 kB / 0.5748 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.01231, allocations: 383 kB / 0.5751 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.01255, allocations: 243.2 kB / 0.5754 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.495e-05/0.01262, allocations: 59.94 kB / 0.5754 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.01301, allocations: 283.6 kB / 0.5757 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.01313, allocations: 139.4 kB / 0.5758 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.01326, allocations: 191.4 kB / 0.576 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006758/0.01394, allocations: 0.6502 MB / 0.5766 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01394, allocations: 0 / 0.5766 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01394, allocations: 3.938 kB / 0.5767 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.01395, allocations: 0 / 0.5767 GB, free: 7.055 MB / 0.4948 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.001265/0.01521, allocations: 1.069 MB / 0.5777 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.01525, allocations: 8.031 kB / 0.5777 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/0.01561, allocations: 120.5 kB / 0.5778 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.01597, allocations: 371.1 kB / 0.5782 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.01599, allocations: 21.03 kB / 0.5782 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.01604, allocations: 36.38 kB / 0.5782 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.01641, allocations: 0.554 MB / 0.5788 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.01642, allocations: 4.188 kB / 0.5788 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.01644, allocations: 12.38 kB / 0.5788 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.01645, allocations: 15.94 kB / 0.5788 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.01661, allocations: 119 kB / 0.5789 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.018, allocations: 1.115 MB / 0.58 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.01863, allocations: 155.5 kB / 0.5801 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.01875, allocations: 87.61 kB / 0.5802 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.01877, allocations: 8.141 kB / 0.5802 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.0188, allocations: 37.39 kB / 0.5803 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.805e-06/0.0188, allocations: 3.984 kB / 0.5803 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.0003443/0.01914, allocations: 237.2 kB / 0.5805 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.01925, allocations: 286.7 kB / 0.5808 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.01964, allocations: 0.514 MB / 0.5813 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.01966, allocations: 37.64 kB / 0.5813 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.01985, allocations: 331 kB / 0.5816 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.01991, allocations: 107.1 kB / 0.5817 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.02001, allocations: 83.77 kB / 0.5818 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002125/0.02022, allocations: 0.5429 MB / 0.5823 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.02028, allocations: 32.84 kB / 0.5824 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.02055, allocations: 468.5 kB / 0.5828 GB, free: 208 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.02089, allocations: 300.2 kB / 0.5831 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.02089, allocations: 0 / 0.5831 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002888/0.02118, allocations: 280.8 kB / 0.5834 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.02119, allocations: 4 kB / 0.5834 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.0212, allocations: 4 kB / 0.5834 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.02121, allocations: 7.938 kB / 0.5834 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.02141, allocations: 99.88 kB / 0.5835 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.02142, allocations: 11.94 kB / 0.5835 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.02159, allocations: 31.78 kB / 0.5835 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.0216, allocations: 12 kB / 0.5835 GB, free: 15.41 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.0001399/0.02174, allocations: 188.7 kB / 0.5837 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.02181, allocations: 67.62 kB / 0.5838 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.02207, allocations: 229.6 kB / 0.584 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.02207, allocations: 11.92 kB / 0.584 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.02208, allocations: 0 / 0.584 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.02208, allocations: 4.125 kB / 0.584 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007873/0.02287, allocations: 0.7671 MB / 0.5848 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.02287, allocations: 4 kB / 0.5848 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.02303, allocations: 71.84 kB / 0.5848 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.02304, allocations: 4 kB / 0.5848 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.02305, allocations: 12 kB / 0.5849 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.02306, allocations: 4 kB / 0.5849 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.02306, allocations: 4.344 kB / 0.5849 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.02346, allocations: 0.5104 MB / 0.5854 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.02353, allocations: 71.52 kB / 0.5854 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.02357, allocations: 11.95 kB / 0.5854 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.02371, allocations: 15.98 kB / 0.5855 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.02374, allocations: 31.84 kB / 0.5855 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.02375, allocations: 15.98 kB / 0.5855 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002203/0.02397, allocations: 330.7 kB / 0.5858 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.02397, allocations: 3.938 kB / 0.5858 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003996/0.02437, allocations: 159.8 kB / 0.586 GB, free: 12.76 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.000257/0.02463, allocations: 174.6 kB / 0.5861 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.02487, allocations: 179.7 kB / 0.5863 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.02488, allocations: 0 / 0.5863 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/0.02496, allocations: 92.27 kB / 0.5864 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.02537, allocations: 142.4 kB / 0.5865 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.02693, allocations: 0.9905 MB / 0.5875 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.8e-05/0.027, allocations: 114 kB / 0.5876 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.02717, allocations: 72.39 kB / 0.5877 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.02747, allocations: 246 kB / 0.5879 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/0.02748, allocations: 0 / 0.5879 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.01239/0.03986, allocations: 9.566 MB / 0.5973 GB, free: 1.293 MB / 0.5105 GB " [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 & ./OpenHPL_OpenHPL.Examples.Pipes -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.Pipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.789314945228398]