Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.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.0008154/0.0008154, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] 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.0008157/0.0008157, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8201/0.8201, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006485/0.006485, allocations: 1.432 MB / 238.7 MB, free: 13.94 MB / 234.7 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 353.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.467e-05, allocations: 6.281 kB / 353.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.00178/0.001805, allocations: 1.893 MB / 355.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006388/0.002444, allocations: 0.5502 MB / 356.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.002495, allocations: 4 kB / 356.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.567e-05/0.002541, allocations: 15.84 kB / 356.2 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.002643, allocations: 43.58 kB / 356.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.002839, allocations: 35.89 kB / 356.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.002975, allocations: 147.1 kB / 356.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.003082, allocations: 21.31 kB / 356.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/0.003162, allocations: 75.8 kB / 356.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.003232, allocations: 39.89 kB / 356.5 MB, free: 12.56 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.00325, allocations: 8 kB / 356.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.003298, allocations: 16 kB / 356.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.003317, allocations: 27.84 kB / 356.6 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.003348, allocations: 39.86 kB / 356.6 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.003488, allocations: 107.6 kB / 356.7 MB, free: 12.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.00349, allocations: 4 kB / 356.7 MB, free: 12.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.003491, allocations: 0 / 356.7 MB, free: 12.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.003495, allocations: 0 / 356.7 MB, free: 12.36 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003692/0.003864, allocations: 349.7 kB / 357.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.003899, allocations: 15.98 kB / 357.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.003933, allocations: 8.891 kB / 357.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.004053, allocations: 145.5 kB / 357.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.004062, allocations: 4.375 kB / 357.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.004074, allocations: 8.375 kB / 357.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.004204, allocations: 90.16 kB / 357.3 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.004212, allocations: 192 / 357.3 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.004223, allocations: 4.375 kB / 357.4 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.004229, allocations: 7.938 kB / 357.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/0.004314, allocations: 58.94 kB / 357.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.004657, allocations: 316.1 kB / 357.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.004914, allocations: 62.53 kB / 357.8 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.004945, allocations: 16.86 kB / 357.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.00496, allocations: 0 / 357.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.159e-05/0.004971, allocations: 34.56 kB / 357.8 MB, free: 11.15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.004972, allocations: 4 kB / 357.8 MB, free: 11.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001725/0.005144, allocations: 93.59 kB / 357.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.005165, allocations: 59.34 kB / 358 MB, free: 10.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/0.005244, allocations: 163.9 kB / 358.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.713e-06/0.00525, allocations: 29.7 kB / 358.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.005291, allocations: 112.2 kB / 358.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.005302, allocations: 15.91 kB / 358.3 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.005331, allocations: 25.66 kB / 358.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.062e-05/0.005361, allocations: 310.8 kB / 358.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.005397, allocations: 32.84 kB / 358.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.763e-05/0.005425, allocations: 23.98 kB / 358.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.101e-05/0.005486, allocations: 48.78 kB / 358.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.005488, allocations: 0 / 358.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.081e-05/0.005569, allocations: 85.62 kB / 358.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.005581, allocations: 8 kB / 358.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.005585, allocations: 0 / 358.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.005596, allocations: 0 / 358.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.795e-05/0.005634, allocations: 8.188 kB / 358.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.005639, allocations: 4 kB / 358.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.005667, allocations: 11.92 kB / 358.9 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.005672, allocations: 0 / 358.9 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.203e-05/0.005714, allocations: 104.1 kB / 359 MB, free: 9.969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.064e-05/0.005734, allocations: 23.94 kB / 359 MB, free: 9.945 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.003e-05/0.005774, allocations: 32.84 kB / 359 MB, free: 9.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.31e-07/0.005775, allocations: 4 kB / 359 MB, free: 9.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 6.14e-05/0.005836, allocations: 85.92 kB / 359.1 MB, free: 9.816 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-06/0.005839, allocations: 8 kB / 359.1 MB, free: 9.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-06/0.00584, allocations: 0 / 359.1 MB, free: 9.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-06/0.005841, allocations: 0 / 359.1 MB, free: 9.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.35e-05/0.005865, allocations: 16.06 kB / 359.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-06/0.005866, allocations: 0 / 359.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.005887, allocations: 11.86 kB / 359.1 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-06/0.005889, allocations: 7.938 kB / 359.1 MB, free: 9.773 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 3.622e-05/0.005925, allocations: 185.1 kB / 359.3 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.005939, allocations: 11.91 kB / 359.3 MB, free: 9.574 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.845e-05/0.006038, allocations: 78.02 kB / 359.4 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.00604, allocations: 3.984 kB / 359.4 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.006045, allocations: 0 / 359.4 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.006048, allocations: 3.938 kB / 359.4 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.006213, allocations: 283 kB / 359.7 MB, free: 9.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.006215, allocations: 3.984 kB / 359.7 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.006237, allocations: 8 kB / 359.7 MB, free: 9.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.006238, allocations: 0 / 359.7 MB, free: 9.152 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.006245, allocations: 0 / 359.7 MB, free: 9.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.006247, allocations: 11.88 kB / 359.7 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006247, allocations: 4.031 kB / 359.7 MB, free: 9.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.109e-05/0.006319, allocations: 172.3 kB / 359.9 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.006341, allocations: 19.89 kB / 359.9 MB, free: 8.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.006353, allocations: 4 kB / 359.9 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.75e-05/0.006391, allocations: 3.938 kB / 359.9 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.006418, allocations: 7.984 kB / 359.9 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.006419, allocations: 0 / 359.9 MB, free: 8.914 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.14e-05/0.006461, allocations: 124.1 kB / 360 MB, free: 8.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006461, allocations: 0 / 360 MB, free: 8.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001914/0.006652, allocations: 47.89 kB / 360.1 MB, free: 8.746 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * 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 8.186e-05/0.006734, allocations: 95.25 kB / 360.2 MB, free: 8.645 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.006854, allocations: 67.89 kB / 360.3 MB, free: 8.578 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006855, allocations: 0 / 360.3 MB, free: 8.578 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.362e-05/0.006879, allocations: 15.94 kB / 360.3 MB, free: 8.562 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.007076, allocations: 8 kB / 360.3 MB, free: 8.555 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.007408, allocations: 280.5 kB / 360.5 MB, free: 8.242 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.007449, allocations: 85.31 kB / 360.6 MB, free: 8.137 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.007471, allocations: 12.5 kB / 360.6 MB, free: 8.125 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007471, allocations: 0 / 360.6 MB, free: 8.125 MB / 282.7 MB Notification: Performance of Templates: time 0.001738/0.009209, allocations: 1.216 MB / 361.9 MB, free: 6.906 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & ./MEV_MEV.Test.TestSupplyValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.923058179207146] Failed to read output from testmodel.py, exit status != 0: 0.013530074618756771 0.020682032000000003 0.015576063000000001 Calling exit ...