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.001457/0.001457, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 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.001734/0.001734, allocations: 217.1 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.47/1.47, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.009752/0.009752, allocations: 1.97 MB / 288 MB, free: 3.871 MB / 222.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002254/0.002254, allocations: 71.3 kB / 403 MB, free: 50.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08475/0.08701, allocations: 49.7 MB / 452.7 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002541/0.08955, allocations: 1.979 MB / 454.7 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007653/0.09031, allocations: 0.5891 MB / 455.3 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.09037, allocations: 0 / 455.3 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.983e-05/0.09043, allocations: 23.78 kB / 455.3 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.09055, allocations: 43.62 kB / 455.4 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.09075, allocations: 39.83 kB / 455.4 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.09092, allocations: 139.3 kB / 455.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.09104, allocations: 25.16 kB / 455.6 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.09111, allocations: 47.8 kB / 455.6 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.98e-05/0.0912, allocations: 55.72 kB / 455.7 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.09121, allocations: 8 kB / 455.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.739e-05/0.09127, allocations: 23.98 kB / 455.7 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.09129, allocations: 23.91 kB / 455.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.09134, allocations: 63.67 kB / 455.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.09149, allocations: 111.5 kB / 455.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.0915, allocations: 0 / 455.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.0915, allocations: 0 / 455.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.0915, allocations: 0 / 455.9 MB, free: 2.582 MB / 318.1 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.0004541/0.09196, allocations: 345.7 kB / 456.2 MB, free: 2.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.09199, allocations: 11.98 kB / 456.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.09203, allocations: 20.84 kB / 456.3 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.09218, allocations: 150.1 kB / 456.4 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.09219, allocations: 8.375 kB / 456.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.09221, allocations: 4.375 kB / 456.4 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.09238, allocations: 89.97 kB / 456.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.09239, allocations: 0 / 456.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.0924, allocations: 4 kB / 456.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.09241, allocations: 4 kB / 456.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.09253, allocations: 55.91 kB / 456.6 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.093, allocations: 355.6 kB / 456.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.09343, allocations: 70.45 kB / 457 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.09348, allocations: 20.94 kB / 457 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.0935, allocations: 0 / 457 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.09352, allocations: 34.56 kB / 457 MB, free: 1.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.09352, allocations: 4 kB / 457 MB, free: 1.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002339/0.09375, allocations: 89.52 kB / 457.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.09378, allocations: 59.28 kB / 457.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.09389, allocations: 182.8 kB / 457.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.0939, allocations: 25.7 kB / 457.4 MB, free: 0.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.09395, allocations: 120 kB / 457.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.09396, allocations: 11.94 kB / 457.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.09399, allocations: 21.67 kB / 457.5 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.09403, allocations: 322.8 kB / 457.9 MB, free: 444 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/0.09409, allocations: 28.84 kB / 457.9 MB, free: 412 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.09413, allocations: 12 kB / 457.9 MB, free: 400 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.059e-05/0.09422, allocations: 48.84 kB / 458 MB, free: 348 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.09422, allocations: 4.125 kB / 458 MB, free: 344 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001366/0.09436, allocations: 93.56 kB / 458 MB, free: 244 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.09437, allocations: 4 kB / 458 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.09438, allocations: 3.938 kB / 458.1 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.09439, allocations: 0 / 458.1 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.09446, allocations: 15.98 kB / 458.1 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.09447, allocations: 0 / 458.1 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.09453, allocations: 11.89 kB / 458.1 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.09454, allocations: 0 / 458.1 MB, free: 208 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.364e-05/0.09461, allocations: 108.1 kB / 458.2 MB, free: 96 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.45e-05/0.09464, allocations: 19.98 kB / 458.2 MB, free: 76 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.757e-05/0.09471, allocations: 40.84 kB / 458.2 MB, free: 32 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.41e-07/0.09471, allocations: 0 / 458.2 MB, free: 32 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001624/0.09487, allocations: 81.58 kB / 458.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.874e-06/0.09488, allocations: 4 kB / 458.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-06/0.09488, allocations: 3.938 kB / 458.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.09489, allocations: 3.938 kB / 458.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.09495, allocations: 15.98 kB / 458.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-06/0.09495, allocations: 4 kB / 458.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.095, allocations: 0 / 458.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.09501, allocations: 4 kB / 458.4 MB, free: 15.91 MB / 334.1 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 0.0001215/0.09513, allocations: 180.3 kB / 458.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.09516, allocations: 11.91 kB / 458.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.09536, allocations: 86.56 kB / 458.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.09536, allocations: 0 / 458.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.09537, allocations: 256 / 458.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.09537, allocations: 4 kB / 458.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.0958, allocations: 334.4 kB / 459 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.0958, allocations: 0 / 459 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.09586, allocations: 7.984 kB / 459 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.09586, allocations: 4 kB / 459 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.09586, allocations: 0 / 459 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.09587, allocations: 3.938 kB / 459 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.09587, allocations: 0 / 459 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.09608, allocations: 184.3 kB / 459.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.09612, allocations: 16.23 kB / 459.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.09615, allocations: 7.922 kB / 459.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.09623, allocations: 4 kB / 459.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.09626, allocations: 3.938 kB / 459.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.09627, allocations: 8 kB / 459.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.09639, allocations: 144 kB / 459.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09639, allocations: 0 / 459.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.09671, allocations: 36 kB / 459.4 MB, free: 14.8 MB / 334.1 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 0.0001281/0.09684, allocations: 91.25 kB / 459.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.09707, allocations: 67.88 kB / 459.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.09707, allocations: 0 / 459.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.073e-05/0.09713, allocations: 20 kB / 459.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.09746, allocations: 15.92 kB / 459.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/0.09802, allocations: 283.3 kB / 459.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.09838, allocations: 0.7041 MB / 460.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.09842, allocations: 19.38 kB / 460.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09842, allocations: 0 / 460.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of Templates: time 0.003189/0.1016, allocations: 1.258 MB / 461.8 MB, free: 12.27 MB / 334.1 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=480 -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.70925121800974] Failed to read output from testmodel.py, exit status != 0: 0.10972203989513218 0.12500550500000002 0.030474629000000003 Calling exit ...