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.001369/0.001369, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001606/0.001606, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.8858/0.8858, allocations: 158.6 MB / 185.9 MB, free: 2.797 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.006517/0.006517, allocations: 1.443 MB / 239.8 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 1.403e-06/1.403e-06, allocations: 0 / 305.8 MB, free: 60.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.236e-05, allocations: 3.344 kB / 305.8 MB, free: 60.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002516/0.002538, allocations: 1.983 MB / 307.8 MB, free: 59.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.003386, allocations: 0.5611 MB / 308.4 MB, free: 59.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.003454, allocations: 1.5 kB / 308.4 MB, free: 59.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.72e-05/0.003501, allocations: 18.06 kB / 308.4 MB, free: 59.17 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.003619, allocations: 51.59 kB / 308.5 MB, free: 59.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.003802, allocations: 36.83 kB / 308.5 MB, free: 59.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.003967, allocations: 148.7 kB / 308.6 MB, free: 59.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.004065, allocations: 17.14 kB / 308.7 MB, free: 59.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.00418, allocations: 75.91 kB / 308.7 MB, free: 59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.004262, allocations: 38.61 kB / 308.8 MB, free: 58.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.004283, allocations: 8.062 kB / 308.8 MB, free: 58.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.444e-05/0.004337, allocations: 18.83 kB / 308.8 MB, free: 58.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.004359, allocations: 17.52 kB / 308.8 MB, free: 58.97 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.004399, allocations: 48.48 kB / 308.9 MB, free: 58.95 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.00456, allocations: 83.77 kB / 308.9 MB, free: 58.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.004564, allocations: 1.031 kB / 308.9 MB, free: 58.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004564, allocations: 1.188 kB / 308.9 MB, free: 58.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.004569, allocations: 0 / 308.9 MB, free: 58.91 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.0004001/0.00497, allocations: 455.8 kB / 309.4 MB, free: 58.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.005002, allocations: 13.7 kB / 309.4 MB, free: 58.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.005043, allocations: 14.39 kB / 309.4 MB, free: 58.47 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.005161, allocations: 150.7 kB / 309.6 MB, free: 58.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.00517, allocations: 3.906 kB / 309.6 MB, free: 58.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.005181, allocations: 9.688 kB / 309.6 MB, free: 58.31 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.005293, allocations: 78.36 kB / 309.6 MB, free: 58.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.0053, allocations: 192 / 309.6 MB, free: 58.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.005307, allocations: 6.078 kB / 309.7 MB, free: 58.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.005312, allocations: 6.375 kB / 309.7 MB, free: 58.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.986e-05/0.005352, allocations: 19.5 kB / 309.7 MB, free: 58.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.005688, allocations: 331 kB / 310 MB, free: 57.97 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.005914, allocations: 69.5 kB / 310.1 MB, free: 57.92 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.005933, allocations: 13.69 kB / 310.1 MB, free: 57.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.005947, allocations: 1.375 kB / 310.1 MB, free: 57.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.00596, allocations: 34.77 kB / 310.1 MB, free: 57.87 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.005962, allocations: 0 / 310.1 MB, free: 57.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001291/0.006091, allocations: 64.2 kB / 310.2 MB, free: 57.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.644e-05/0.006107, allocations: 57.52 kB / 310.2 MB, free: 57.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/0.006187, allocations: 206.9 kB / 310.4 MB, free: 57.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.006194, allocations: 25.7 kB / 310.5 MB, free: 57.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.00624, allocations: 161 kB / 310.6 MB, free: 57.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.688e-06/0.006249, allocations: 19.91 kB / 310.6 MB, free: 57.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.006282, allocations: 30.66 kB / 310.7 MB, free: 57.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.577e-05/0.006328, allocations: 0.4918 MB / 311.2 MB, free: 56.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.006349, allocations: 15.3 kB / 311.2 MB, free: 56.83 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.006364, allocations: 6.672 kB / 311.2 MB, free: 56.83 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.595e-05/0.0064, allocations: 32.06 kB / 311.2 MB, free: 56.81 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006402, allocations: 128 / 311.2 MB, free: 56.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.95e-05/0.006471, allocations: 63.97 kB / 311.3 MB, free: 56.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.006484, allocations: 6.125 kB / 311.3 MB, free: 56.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.006493, allocations: 0 / 311.3 MB, free: 56.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.006501, allocations: 5.562 kB / 311.3 MB, free: 56.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-05/0.006554, allocations: 10.78 kB / 311.3 MB, free: 56.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.006557, allocations: 2.391 kB / 311.3 MB, free: 56.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.006587, allocations: 1.891 kB / 311.3 MB, free: 56.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.006593, allocations: 9.859 kB / 311.3 MB, free: 56.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.034e-05/0.006624, allocations: 136.3 kB / 311.4 MB, free: 56.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.216e-06/0.006632, allocations: 6 kB / 311.5 MB, free: 56.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.074e-05/0.006653, allocations: 24.81 kB / 311.5 MB, free: 56.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.51e-07/0.006653, allocations: 1.375 kB / 311.5 MB, free: 56.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 4.79e-05/0.006701, allocations: 55.34 kB / 311.5 MB, free: 56.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-06/0.006705, allocations: 4.125 kB / 311.5 MB, free: 56.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-07/0.006706, allocations: 5.375 kB / 311.5 MB, free: 56.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-06/0.006708, allocations: 0.7031 kB / 311.5 MB, free: 56.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.556e-05/0.006733, allocations: 9.797 kB / 311.6 MB, free: 56.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-06/0.006734, allocations: 1.922 kB / 311.6 MB, free: 56.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.006755, allocations: 2.359 kB / 311.6 MB, free: 56.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-06/0.006756, allocations: 1.375 kB / 311.6 MB, free: 56.56 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 4.444e-05/0.006801, allocations: 277.3 kB / 311.8 MB, free: 56.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.006821, allocations: 14.2 kB / 311.8 MB, free: 56.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.402e-05/0.006905, allocations: 59.02 kB / 311.9 MB, free: 56.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006906, allocations: 4 kB / 311.9 MB, free: 56.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.006909, allocations: 1.625 kB / 311.9 MB, free: 56.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006912, allocations: 4.688 kB / 311.9 MB, free: 56.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.007087, allocations: 303.7 kB / 312.2 MB, free: 55.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.007088, allocations: 0 / 312.2 MB, free: 55.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/0.007115, allocations: 8.375 kB / 312.2 MB, free: 55.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.007118, allocations: 2.172 kB / 312.2 MB, free: 55.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-06/0.007122, allocations: 4 kB / 312.2 MB, free: 55.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.007123, allocations: 1.375 kB / 312.2 MB, free: 55.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.007125, allocations: 2.219 kB / 312.2 MB, free: 55.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.278e-05/0.007198, allocations: 213.9 kB / 312.4 MB, free: 55.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.007229, allocations: 28.33 kB / 312.5 MB, free: 55.69 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.00724, allocations: 1.375 kB / 312.5 MB, free: 55.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.145e-05/0.007282, allocations: 2.031 kB / 312.5 MB, free: 55.69 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.007308, allocations: 12.33 kB / 312.5 MB, free: 55.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.007311, allocations: 0.7031 kB / 312.5 MB, free: 55.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.394e-05/0.007355, allocations: 152.7 kB / 312.6 MB, free: 55.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007355, allocations: 0 / 312.6 MB, free: 55.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.007576, allocations: 48.72 kB / 312.7 MB, free: 55.55 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 7.827e-05/0.007654, allocations: 91.09 kB / 312.8 MB, free: 55.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.81e-05/0.007742, allocations: 50.98 kB / 312.8 MB, free: 55.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.007743, allocations: 1.375 kB / 312.8 MB, free: 55.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.007761, allocations: 18.81 kB / 312.8 MB, free: 55.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.00796, allocations: 10.38 kB / 312.8 MB, free: 55.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.008495, allocations: 264.9 kB / 313.1 MB, free: 55.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.008528, allocations: 63.48 kB / 313.2 MB, free: 55.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.261e-05/0.00856, allocations: 6.5 kB / 313.2 MB, free: 55.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.008605, allocations: 76.11 kB / 313.2 MB, free: 55.07 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.008606, allocations: 0 / 313.2 MB, free: 55.07 MB / 282.7 MB Notification: Performance of Templates: time 0.003101/0.01171, allocations: 0.9941 MB / 314.2 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.66037433501333]