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.001265/0.001265, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001328/0.001328, allocations: 218.6 kB / 22.25 MB, free: 5.121 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.293/1.293, allocations: 207.6 MB / 233 MB, free: 9.973 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.008011/0.008011, allocations: 1.966 MB / 287.2 MB, free: 3.855 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.002115/0.002115, allocations: 75.77 kB / 402.3 MB, free: 50.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06547/0.06758, allocations: 49.69 MB / 452 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002408/0.06999, allocations: 1.979 MB / 454 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006574/0.07065, allocations: 0.5889 MB / 454.5 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.0707, allocations: 4 kB / 454.5 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.928e-05/0.07075, allocations: 19.84 kB / 454.6 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.07086, allocations: 43.56 kB / 454.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.07103, allocations: 31.97 kB / 454.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.07117, allocations: 139.2 kB / 454.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.07127, allocations: 29.16 kB / 454.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.1e-05/0.07133, allocations: 47.8 kB / 454.9 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.165e-05/0.07141, allocations: 55.72 kB / 454.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.07143, allocations: 8 kB / 454.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.896e-05/0.07148, allocations: 23.98 kB / 454.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.0715, allocations: 19.92 kB / 455 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.07154, allocations: 59.67 kB / 455 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.07167, allocations: 115.5 kB / 455.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.07167, allocations: 0 / 455.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.07167, allocations: 4 kB / 455.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.07168, allocations: 0 / 455.1 MB, free: 2.578 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.0004201/0.0721, allocations: 349.6 kB / 455.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.07212, allocations: 11.98 kB / 455.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.07216, allocations: 16.84 kB / 455.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.07229, allocations: 146.2 kB / 455.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.0723, allocations: 8.375 kB / 455.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.07232, allocations: 12.31 kB / 455.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.07247, allocations: 85.97 kB / 455.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.07248, allocations: 4 kB / 455.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.07249, allocations: 4 kB / 455.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.0725, allocations: 3.938 kB / 455.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.07261, allocations: 59.91 kB / 455.8 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.07304, allocations: 355.6 kB / 456.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.07344, allocations: 62.53 kB / 456.2 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.07349, allocations: 20.94 kB / 456.2 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.0735, allocations: 4 kB / 456.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.878e-06/0.07351, allocations: 34.56 kB / 456.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.07352, allocations: 0 / 456.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002252/0.07374, allocations: 93.45 kB / 456.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.618e-05/0.07376, allocations: 51.41 kB / 456.4 MB, free: 1.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.07387, allocations: 186.8 kB / 456.6 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.07387, allocations: 29.7 kB / 456.6 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.07391, allocations: 112 kB / 456.7 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.935e-06/0.07392, allocations: 11.95 kB / 456.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.07395, allocations: 25.66 kB / 456.8 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.653e-05/0.07399, allocations: 322.8 kB / 457.1 MB, free: 440 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.07404, allocations: 20.86 kB / 457.1 MB, free: 416 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/0.07408, allocations: 23.98 kB / 457.1 MB, free: 392 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.07417, allocations: 44.97 kB / 457.2 MB, free: 344 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.07417, allocations: 4 kB / 457.2 MB, free: 340 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001285/0.0743, allocations: 89.56 kB / 457.3 MB, free: 244 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.07431, allocations: 8 kB / 457.3 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.07431, allocations: 3.938 kB / 457.3 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.07432, allocations: 0 / 457.3 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.07439, allocations: 11.98 kB / 457.3 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.0744, allocations: 3.984 kB / 457.3 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.07446, allocations: 11.89 kB / 457.3 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.07446, allocations: 4 kB / 457.3 MB, free: 200 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.26e-05/0.07453, allocations: 112.1 kB / 457.4 MB, free: 84 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.26e-05/0.07456, allocations: 19.92 kB / 457.4 MB, free: 64 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.566e-05/0.07462, allocations: 44.78 kB / 457.5 MB, free: 16 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.11e-07/0.07462, allocations: 0 / 457.5 MB, free: 16 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001546/0.07478, allocations: 73.72 kB / 457.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.07479, allocations: 4 kB / 457.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-06/0.07479, allocations: 4 kB / 457.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-06/0.07479, allocations: 3.938 kB / 457.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.07485, allocations: 15.98 kB / 457.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-06/0.07485, allocations: 0 / 457.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.061e-05/0.0749, allocations: 4.25 kB / 457.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-06/0.07491, allocations: 0 / 457.6 MB, free: 15.9 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 9.533e-05/0.075, allocations: 180.3 kB / 457.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.07503, allocations: 15.91 kB / 457.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.07522, allocations: 86.56 kB / 457.9 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.07523, allocations: 7.938 kB / 457.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.07523, allocations: 4 kB / 457.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.07523, allocations: 0 / 457.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.07561, allocations: 326.5 kB / 458.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.07562, allocations: 0 / 458.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.07567, allocations: 8.047 kB / 458.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.07567, allocations: 3.984 kB / 458.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.07568, allocations: 7.984 kB / 458.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.07569, allocations: 4 kB / 458.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.07569, allocations: 4.031 kB / 458.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.07588, allocations: 176.2 kB / 458.4 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.07593, allocations: 19.91 kB / 458.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.07595, allocations: 3.938 kB / 458.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.07603, allocations: 3.984 kB / 458.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.07606, allocations: 8 kB / 458.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.07606, allocations: 4 kB / 458.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.07618, allocations: 140 kB / 458.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.07618, allocations: 0 / 458.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003087/0.07649, allocations: 40 kB / 458.6 MB, free: 14.79 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 9.62e-05/0.07658, allocations: 91.25 kB / 458.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.0768, allocations: 63.89 kB / 458.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0768, allocations: 3.938 kB / 458.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.762e-05/0.07685, allocations: 16 kB / 458.8 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.0002706/0.07712, allocations: 23.86 kB / 458.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.07757, allocations: 253.6 kB / 459.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.07791, allocations: 0.708 MB / 459.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.598e-05/0.07795, allocations: 8.422 kB / 459.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.07798, allocations: 11.44 kB / 459.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.07798, allocations: 0 / 459.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Templates: time 0.00367/0.08165, allocations: 1.078 MB / 460.9 MB, free: 12.47 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: 3.898155043134466] Failed to read output from testmodel.py, exit status != 0: 0.08921859506517649 0.10448902399999994 0.029875796000000003 Calling exit ...