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.001244/0.001244, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001387/0.001387, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.7691/0.7691, allocations: 158.6 MB / 185.2 MB, free: 2.773 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.005507/0.005507, allocations: 1.439 MB / 239 MB, free: 13.57 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.352e-06/1.352e-06, allocations: 0 / 256 MB, free: 12.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.809e-06/1.116e-05, allocations: 2.312 kB / 256 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.001808/0.001819, allocations: 1.989 MB / 258 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006341/0.002453, allocations: 0.5852 MB / 258.6 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.002495, allocations: 0 / 258.6 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.002533, allocations: 11.86 kB / 258.6 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.002635, allocations: 51.56 kB / 258.6 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.002787, allocations: 27.91 kB / 258.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.002922, allocations: 151.1 kB / 258.8 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.766e-05/0.003, allocations: 17.95 kB / 258.8 MB, free: 9.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.172e-05/0.003082, allocations: 79.8 kB / 258.9 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.003148, allocations: 39.91 kB / 258.9 MB, free: 9.594 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.003163, allocations: 8 kB / 258.9 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.003206, allocations: 19.98 kB / 259 MB, free: 9.566 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.003226, allocations: 19.91 kB / 259 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.003258, allocations: 43.86 kB / 259 MB, free: 9.504 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.003367, allocations: 91.59 kB / 259.1 MB, free: 9.414 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003369, allocations: 0 / 259.1 MB, free: 9.414 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003369, allocations: 0 / 259.1 MB, free: 9.414 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.003372, allocations: 0 / 259.1 MB, free: 9.414 MB / 250.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.0004729/0.003845, allocations: 324.3 kB / 259.4 MB, free: 9.074 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.624e-05/0.003871, allocations: 15.98 kB / 259.4 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.003896, allocations: 12.92 kB / 259.5 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.004002, allocations: 137.4 kB / 259.6 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.00401, allocations: 4.375 kB / 259.6 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.004023, allocations: 16.36 kB / 259.6 MB, free: 8.867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.243e-05/0.004115, allocations: 82.77 kB / 259.7 MB, free: 8.777 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.004121, allocations: 4.172 kB / 259.7 MB, free: 8.773 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.004129, allocations: 4.375 kB / 259.7 MB, free: 8.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.004133, allocations: 3.938 kB / 259.7 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.091e-05/0.004164, allocations: 16 kB / 259.7 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.004417, allocations: 228 kB / 259.9 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.004601, allocations: 50.55 kB / 260 MB, free: 8.453 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.004615, allocations: 12.94 kB / 260 MB, free: 8.438 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.004626, allocations: 4 kB / 260 MB, free: 8.434 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.004642, allocations: 38.44 kB / 260.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.004643, allocations: 0 / 260.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.692e-05/0.00473, allocations: 45.69 kB / 260.1 MB, free: 8.336 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.004752, allocations: 51.41 kB / 260.1 MB, free: 8.273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.133e-05/0.004824, allocations: 158.6 kB / 260.3 MB, free: 8.105 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.004831, allocations: 25.7 kB / 260.3 MB, free: 8.074 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.004866, allocations: 104.2 kB / 260.4 MB, free: 7.969 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.004882, allocations: 19.89 kB / 260.4 MB, free: 7.949 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.004909, allocations: 21.66 kB / 260.5 MB, free: 7.922 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.00497, allocations: 330.8 kB / 260.8 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.004985, allocations: 8.859 kB / 260.8 MB, free: 7.578 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.004995, allocations: 4 kB / 260.8 MB, free: 7.574 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.864e-05/0.005023, allocations: 24.78 kB / 260.8 MB, free: 7.547 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.005024, allocations: 0 / 260.8 MB, free: 7.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.807e-05/0.005072, allocations: 53.88 kB / 260.9 MB, free: 7.488 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.005081, allocations: 10.97 kB / 260.9 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.005084, allocations: 0 / 260.9 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.005091, allocations: 0 / 260.9 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.818e-05/0.00513, allocations: 11.98 kB / 260.9 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-06/0.005131, allocations: 0 / 260.9 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.005156, allocations: 11.94 kB / 260.9 MB, free: 7.457 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.005159, allocations: 0 / 260.9 MB, free: 7.457 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.12e-05/0.00519, allocations: 92.02 kB / 261 MB, free: 7.363 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.953e-06/0.005197, allocations: 7.984 kB / 261 MB, free: 7.355 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.64e-05/0.005214, allocations: 20.84 kB / 261 MB, free: 7.332 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.81e-07/0.005214, allocations: 0 / 261 MB, free: 7.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 3.742e-05/0.005252, allocations: 57.67 kB / 261.1 MB, free: 7.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-06/0.005255, allocations: 4 kB / 261.1 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-07/0.005256, allocations: 0 / 261.1 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.32e-07/0.005257, allocations: 0 / 261.1 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.132e-05/0.005278, allocations: 15.94 kB / 261.1 MB, free: 7.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-07/0.005279, allocations: 0 / 261.1 MB, free: 7.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.613e-05/0.005295, allocations: 0 / 261.1 MB, free: 7.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-06/0.005296, allocations: 0 / 261.1 MB, free: 7.25 MB / 250.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.81e-05/0.005344, allocations: 188.2 kB / 261.3 MB, free: 7.059 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.005359, allocations: 8 kB / 261.3 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.005421, allocations: 61.95 kB / 261.4 MB, free: 6.98 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.005423, allocations: 0 / 261.4 MB, free: 6.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.005424, allocations: 0 / 261.4 MB, free: 6.98 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.005426, allocations: 0 / 261.4 MB, free: 6.98 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.005572, allocations: 227.7 kB / 261.6 MB, free: 6.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.005573, allocations: 192 / 261.6 MB, free: 6.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.005592, allocations: 12 kB / 261.6 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.005593, allocations: 0 / 261.6 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.005596, allocations: 48 / 261.6 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.005597, allocations: 0 / 261.6 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.0056, allocations: 15.94 kB / 261.6 MB, free: 6.703 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.068e-05/0.005661, allocations: 144.3 kB / 261.8 MB, free: 6.543 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.00568, allocations: 11.95 kB / 261.8 MB, free: 6.531 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.005691, allocations: 3.984 kB / 261.8 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.538e-05/0.005726, allocations: 8 kB / 261.8 MB, free: 6.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.005743, allocations: 0 / 261.8 MB, free: 6.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.005746, allocations: 3.938 kB / 261.8 MB, free: 6.516 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.047e-05/0.005776, allocations: 37.69 kB / 261.8 MB, free: 6.477 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005776, allocations: 0 / 261.8 MB, free: 6.477 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.005924, allocations: 47.89 kB / 261.9 MB, free: 6.43 MB / 250.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.569e-05/0.00599, allocations: 84.34 kB / 261.9 MB, free: 6.336 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.198e-05/0.006052, allocations: 37.7 kB / 262 MB, free: 6.293 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.006054, allocations: 0 / 262 MB, free: 6.293 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.65e-05/0.00607, allocations: 24.78 kB / 262 MB, free: 6.266 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.006191, allocations: 7.938 kB / 262 MB, free: 6.258 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.006629, allocations: 257.2 kB / 262.3 MB, free: 5.973 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.848e-05/0.006657, allocations: 67.28 kB / 262.3 MB, free: 5.887 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.538e-05/0.006682, allocations: 7.984 kB / 262.3 MB, free: 5.879 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.006722, allocations: 55.38 kB / 262.4 MB, free: 5.824 MB / 250.7 MB Notification: Performance of SimCode: time 3.51e-07/0.006723, allocations: 0 / 262.4 MB, free: 5.824 MB / 250.7 MB Notification: Performance of Templates: time 0.002081/0.008803, allocations: 0.9397 MB / 263.3 MB, free: 4.891 MB / 250.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.2175396461971104]