Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPatientValve.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.0008784/0.0008784, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0008742/0.0008742, allocations: 170 kB / 23.27 MB, free: 1.223 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.7868/0.7868, allocations: 158.6 MB / 185.2 MB, free: 2.789 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.006323/0.006323, allocations: 1.439 MB / 239 MB, free: 13.5 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.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 305.1 MB, free: 60.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.901e-05, allocations: 2.312 kB / 305.1 MB, free: 60.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002715/0.002734, allocations: 1.979 MB / 307 MB, free: 59.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007093/0.003444, allocations: 0.5631 MB / 307.6 MB, free: 59.17 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.003495, allocations: 1.25 kB / 307.6 MB, free: 59.17 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.618e-05/0.003541, allocations: 19.98 kB / 307.6 MB, free: 59.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.003651, allocations: 48.09 kB / 307.7 MB, free: 59.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.00384, allocations: 40.12 kB / 307.7 MB, free: 59.1 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.003986, allocations: 141.2 kB / 307.8 MB, free: 59.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.276e-05/0.004079, allocations: 29.81 kB / 307.9 MB, free: 59.01 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.869e-05/0.004178, allocations: 64.97 kB / 307.9 MB, free: 58.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.004257, allocations: 49 kB / 308 MB, free: 58.97 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.004275, allocations: 12.28 kB / 308 MB, free: 58.97 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.3e-05/0.004328, allocations: 13.45 kB / 308 MB, free: 58.97 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.004348, allocations: 19.05 kB / 308 MB, free: 58.96 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.004382, allocations: 40.52 kB / 308.1 MB, free: 58.94 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.004513, allocations: 90.95 kB / 308.2 MB, free: 58.9 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004515, allocations: 1.281 kB / 308.2 MB, free: 58.9 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004515, allocations: 0 / 308.2 MB, free: 58.9 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.004519, allocations: 0 / 308.2 MB, free: 58.9 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.0003281/0.004847, allocations: 449.1 kB / 308.6 MB, free: 58.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.004881, allocations: 17.33 kB / 308.6 MB, free: 58.47 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.004916, allocations: 18.42 kB / 308.6 MB, free: 58.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.989e-05/0.005006, allocations: 142.8 kB / 308.8 MB, free: 58.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.005015, allocations: 7.938 kB / 308.8 MB, free: 58.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.005024, allocations: 5.922 kB / 308.8 MB, free: 58.31 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.841e-05/0.005122, allocations: 77.39 kB / 308.9 MB, free: 58.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.005129, allocations: 1.406 kB / 308.9 MB, free: 58.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.005137, allocations: 5.266 kB / 308.9 MB, free: 58.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.005141, allocations: 6.156 kB / 308.9 MB, free: 58.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.005178, allocations: 19.77 kB / 308.9 MB, free: 58.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.005463, allocations: 340.2 kB / 309.2 MB, free: 57.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.005659, allocations: 61.3 kB / 309.3 MB, free: 57.92 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.005675, allocations: 16.52 kB / 309.3 MB, free: 57.9 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.005687, allocations: 1.094 kB / 309.3 MB, free: 57.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.005705, allocations: 36.38 kB / 309.3 MB, free: 57.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.005706, allocations: 0 / 309.3 MB, free: 57.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001152/0.005821, allocations: 60.09 kB / 309.4 MB, free: 57.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.387e-05/0.005835, allocations: 56.44 kB / 309.4 MB, free: 57.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.005908, allocations: 211.1 kB / 309.7 MB, free: 57.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-06/0.005913, allocations: 29.64 kB / 309.7 MB, free: 57.53 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.005953, allocations: 158.3 kB / 309.8 MB, free: 57.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/0.005961, allocations: 21.86 kB / 309.9 MB, free: 57.36 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.005988, allocations: 31.31 kB / 309.9 MB, free: 57.33 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.916e-05/0.006027, allocations: 0.4926 MB / 310.4 MB, free: 56.83 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.006043, allocations: 14.58 kB / 310.4 MB, free: 56.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.301e-05/0.006056, allocations: 6.5 kB / 310.4 MB, free: 56.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.00609, allocations: 25.77 kB / 310.4 MB, free: 56.8 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006092, allocations: 4 kB / 310.4 MB, free: 56.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.933e-05/0.006151, allocations: 66.89 kB / 310.5 MB, free: 56.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.006161, allocations: 10.03 kB / 310.5 MB, free: 56.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006166, allocations: 0.8438 kB / 310.5 MB, free: 56.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.006176, allocations: 1.344 kB / 310.5 MB, free: 56.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.199e-05/0.006218, allocations: 10.44 kB / 310.5 MB, free: 56.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006221, allocations: 2.391 kB / 310.5 MB, free: 56.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.006247, allocations: 5.969 kB / 310.5 MB, free: 56.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.006251, allocations: 6.062 kB / 310.5 MB, free: 56.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.642e-05/0.006278, allocations: 132.5 kB / 310.7 MB, free: 56.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.364e-06/0.006285, allocations: 4.734 kB / 310.7 MB, free: 56.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.888e-05/0.006304, allocations: 25.38 kB / 310.7 MB, free: 56.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.81e-07/0.006305, allocations: 5.375 kB / 310.7 MB, free: 56.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 3.99e-05/0.006345, allocations: 59.7 kB / 310.8 MB, free: 56.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-06/0.006349, allocations: 4.125 kB / 310.8 MB, free: 56.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-07/0.006349, allocations: 1.375 kB / 310.8 MB, free: 56.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-06/0.00635, allocations: 0.8438 kB / 310.8 MB, free: 56.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-05/0.006372, allocations: 9.562 kB / 310.8 MB, free: 56.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.61e-07/0.006373, allocations: 1.922 kB / 310.8 MB, free: 56.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.006391, allocations: 6.312 kB / 310.8 MB, free: 56.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-06/0.006393, allocations: 1.375 kB / 310.8 MB, free: 56.54 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.667e-05/0.006429, allocations: 270 kB / 311 MB, free: 56.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.006446, allocations: 17.41 kB / 311.1 MB, free: 56.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.00652, allocations: 63.47 kB / 311.1 MB, free: 56.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006521, allocations: 0 / 311.1 MB, free: 56.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.006523, allocations: 1.625 kB / 311.1 MB, free: 56.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.006526, allocations: 0 / 311.1 MB, free: 56.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.006681, allocations: 308.3 kB / 311.4 MB, free: 55.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006682, allocations: 3.938 kB / 311.4 MB, free: 55.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.006704, allocations: 8.328 kB / 311.4 MB, free: 55.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.006707, allocations: 2.078 kB / 311.4 MB, free: 55.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.006711, allocations: 0 / 311.4 MB, free: 55.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.006712, allocations: 6.156 kB / 311.4 MB, free: 55.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006713, allocations: 0 / 311.4 MB, free: 55.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.051e-05/0.006774, allocations: 211.2 kB / 311.7 MB, free: 55.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.006798, allocations: 24.06 kB / 311.7 MB, free: 55.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.006809, allocations: 2.359 kB / 311.7 MB, free: 55.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.492e-05/0.006844, allocations: 5.312 kB / 311.7 MB, free: 55.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.006865, allocations: 7.094 kB / 311.7 MB, free: 55.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.006868, allocations: 2.219 kB / 311.7 MB, free: 55.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.69e-05/0.006905, allocations: 156.5 kB / 311.8 MB, free: 55.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006905, allocations: 0 / 311.8 MB, free: 55.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000195/0.0071, allocations: 44.2 kB / 311.9 MB, free: 55.54 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 6.771e-05/0.007168, allocations: 95.42 kB / 312 MB, free: 55.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.228e-05/0.00724, allocations: 55.53 kB / 312 MB, free: 55.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007241, allocations: 1.375 kB / 312 MB, free: 55.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.007256, allocations: 14.64 kB / 312.1 MB, free: 55.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.007424, allocations: 9.812 kB / 312.1 MB, free: 55.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.007884, allocations: 270.8 kB / 312.3 MB, free: 55.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.391e-05/0.007908, allocations: 62.41 kB / 312.4 MB, free: 55.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.649e-05/0.007934, allocations: 6.797 kB / 312.4 MB, free: 55.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.007974, allocations: 76.23 kB / 312.5 MB, free: 55.05 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007974, allocations: 0 / 312.5 MB, free: 55.05 MB / 282.7 MB Notification: Performance of Templates: time 0.00231/0.01028, allocations: 0.9678 MB / 313.4 MB, free: 54.94 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestPatientValve.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestPatientValve.pipe ; mkfifo MEV_MEV.Test.TestPatientValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientValve.pipe >> ../files/MEV_MEV.Test.TestPatientValve.sim & ./MEV_MEV.Test.TestPatientValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4509088820777833]