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.001559/0.001559, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001723/0.001723, allocations: 222 kB / 23 MB, free: 4.91 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.321/1.321, allocations: 207.7 MB / 233.9 MB, free: 9.801 MB / 190.1 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.00834/0.00834, allocations: 1.97 MB / 288.1 MB, free: 3.668 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.002278/0.002278, allocations: 73.89 kB / 403 MB, free: 50.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06201/0.06429, allocations: 49.71 MB / 452.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002295/0.06659, allocations: 1.878 MB / 454.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006732/0.06726, allocations: 0.5617 MB / 455.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.06732, allocations: 0 / 455.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.767e-05/0.06736, allocations: 15.84 kB / 455.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.06747, allocations: 51.55 kB / 455.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.06765, allocations: 31.91 kB / 455.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.06778, allocations: 143.2 kB / 455.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.06789, allocations: 25.16 kB / 455.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/0.06795, allocations: 47.84 kB / 455.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.06803, allocations: 51.72 kB / 455.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.06805, allocations: 12 kB / 455.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.433e-05/0.0681, allocations: 19.98 kB / 455.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.06812, allocations: 19.88 kB / 455.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.06817, allocations: 47.8 kB / 455.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.0683, allocations: 119.4 kB / 455.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.0683, allocations: 0 / 455.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.0683, allocations: 0 / 455.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.06831, allocations: 0 / 455.7 MB, free: 2.559 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.0004366/0.06875, allocations: 345.7 kB / 456.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.06877, allocations: 15.98 kB / 456.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.06881, allocations: 16.84 kB / 456.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.06894, allocations: 150.1 kB / 456.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.06896, allocations: 8.375 kB / 456.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.06897, allocations: 4.375 kB / 456.3 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.06913, allocations: 89.97 kB / 456.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.06913, allocations: 4 kB / 456.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.06915, allocations: 4 kB / 456.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.06915, allocations: 0 / 456.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.06927, allocations: 55.97 kB / 456.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.06967, allocations: 312.2 kB / 456.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.07008, allocations: 62.53 kB / 456.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.07013, allocations: 24.8 kB / 456.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.07014, allocations: 0 / 456.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.438e-06/0.07015, allocations: 34.56 kB / 456.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.07015, allocations: 0 / 456.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002199/0.07037, allocations: 97.58 kB / 456.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.07039, allocations: 51.41 kB / 457 MB, free: 1.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.07049, allocations: 159.8 kB / 457.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.07049, allocations: 25.7 kB / 457.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.07053, allocations: 116.2 kB / 457.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.358e-06/0.07054, allocations: 11.89 kB / 457.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.07058, allocations: 29.59 kB / 457.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.627e-05/0.07061, allocations: 318.8 kB / 457.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.07067, allocations: 28.78 kB / 457.7 MB, free: 480 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.316e-05/0.07071, allocations: 19.98 kB / 457.7 MB, free: 460 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.105e-05/0.0708, allocations: 48.84 kB / 457.7 MB, free: 408 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.0708, allocations: 0 / 457.7 MB, free: 408 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001291/0.07093, allocations: 81.62 kB / 457.8 MB, free: 320 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.07094, allocations: 8 kB / 457.8 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.07094, allocations: 0 / 457.8 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.07096, allocations: 3.938 kB / 457.8 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.136e-05/0.07103, allocations: 11.94 kB / 457.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.07103, allocations: 0 / 457.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.755e-05/0.07109, allocations: 11.98 kB / 457.8 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.0711, allocations: 4 kB / 457.8 MB, free: 280 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.524e-05/0.07116, allocations: 104.1 kB / 457.9 MB, free: 172 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.444e-05/0.07119, allocations: 16 kB / 458 MB, free: 156 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.988e-05/0.07126, allocations: 41.16 kB / 458 MB, free: 112 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.31e-07/0.07127, allocations: 0 / 458 MB, free: 112 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001138/0.07138, allocations: 85.61 kB / 458.1 MB, free: 20 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.638e-06/0.07138, allocations: 4 kB / 458.1 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.71e-07/0.07138, allocations: 0 / 458.1 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-06/0.07139, allocations: 192 / 458.1 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/0.07147, allocations: 19.98 kB / 458.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.07147, allocations: 3.938 kB / 458.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/0.07153, allocations: 7.938 kB / 458.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.07153, allocations: 7.984 kB / 458.1 MB, free: 15.98 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.0001014/0.07164, allocations: 176.3 kB / 458.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.07167, allocations: 11.91 kB / 458.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.07186, allocations: 78 kB / 458.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.07186, allocations: 3.938 kB / 458.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.07186, allocations: 3.938 kB / 458.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.07187, allocations: 7.938 kB / 458.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.07223, allocations: 283.1 kB / 458.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.07224, allocations: 3.984 kB / 458.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.07229, allocations: 11.94 kB / 458.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.07229, allocations: 3.938 kB / 458.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.0723, allocations: 0 / 458.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.0723, allocations: 4 kB / 458.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.0723, allocations: 0 / 458.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.0725, allocations: 176.3 kB / 458.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.07255, allocations: 23.84 kB / 458.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.07257, allocations: 0 / 458.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.07265, allocations: 11.94 kB / 458.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.07268, allocations: 3.984 kB / 458.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.07268, allocations: 0 / 458.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.983e-05/0.07278, allocations: 123.4 kB / 459 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.07278, allocations: 0 / 459 MB, free: 14.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000314/0.07309, allocations: 47.89 kB / 459.1 MB, free: 14.94 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.0001012/0.0732, allocations: 95.19 kB / 459.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.0734, allocations: 63.95 kB / 459.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.07341, allocations: 4 kB / 459.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.795e-05/0.07346, allocations: 15.94 kB / 459.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.07373, allocations: 8.312 kB / 459.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.07423, allocations: 295.2 kB / 459.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.894e-05/0.07432, allocations: 89.25 kB / 459.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.07435, allocations: 11.44 kB / 459.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.07435, allocations: 0 / 459.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Templates: time 0.00292/0.07727, allocations: 1.203 MB / 460.9 MB, free: 13.09 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.0768057610839605] Failed to read output from testmodel.py, exit status != 0: 0.08425006875768304 0.099796753 0.028461542000000003 Calling exit ...