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.0009238/0.0009238, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.000909/0.000909, allocations: 173 kB / 23.49 MB, free: 1.055 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.7934/0.7934, allocations: 158.6 MB / 185.3 MB, free: 2.938 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.008307/0.008307, allocations: 1.447 MB / 239 MB, free: 13.72 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.293e-06/1.293e-06, allocations: 0 / 304.6 MB, free: 61.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.598e-05, allocations: 3.812 kB / 304.6 MB, free: 61.38 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002131/0.002147, allocations: 1.993 MB / 306.6 MB, free: 60.06 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006856/0.002832, allocations: 0.5576 MB / 307.2 MB, free: 59.69 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.002883, allocations: 1 kB / 307.2 MB, free: 59.69 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.002929, allocations: 20.06 kB / 307.2 MB, free: 59.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.003037, allocations: 50.91 kB / 307.2 MB, free: 59.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.003224, allocations: 36.05 kB / 307.3 MB, free: 59.62 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.003376, allocations: 140.8 kB / 307.4 MB, free: 59.54 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.003481, allocations: 22.02 kB / 307.4 MB, free: 59.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.003579, allocations: 78.56 kB / 307.5 MB, free: 59.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.003657, allocations: 39.3 kB / 307.6 MB, free: 59.49 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.003677, allocations: 12.28 kB / 307.6 MB, free: 59.49 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.667e-05/0.003724, allocations: 13.69 kB / 307.6 MB, free: 59.49 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.003745, allocations: 22.56 kB / 307.6 MB, free: 59.47 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.003783, allocations: 37.41 kB / 307.6 MB, free: 59.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.003931, allocations: 95.67 kB / 307.7 MB, free: 59.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003933, allocations: 0 / 307.7 MB, free: 59.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003933, allocations: 0 / 307.7 MB, free: 59.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.003937, allocations: 3.938 kB / 307.7 MB, free: 59.41 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.0003635/0.004301, allocations: 450.3 kB / 308.2 MB, free: 58.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.004335, allocations: 12.86 kB / 308.2 MB, free: 58.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.004378, allocations: 13.77 kB / 308.2 MB, free: 58.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.0045, allocations: 151.2 kB / 308.3 MB, free: 58.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.00451, allocations: 4.375 kB / 308.4 MB, free: 58.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.004522, allocations: 13.5 kB / 308.4 MB, free: 58.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.004648, allocations: 80.58 kB / 308.4 MB, free: 58.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.004654, allocations: 1.375 kB / 308.4 MB, free: 58.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.004665, allocations: 4.375 kB / 308.4 MB, free: 58.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.004672, allocations: 6.25 kB / 308.5 MB, free: 58.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.844e-05/0.004731, allocations: 27.64 kB / 308.5 MB, free: 58.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.005095, allocations: 366.5 kB / 308.8 MB, free: 58.44 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.005394, allocations: 66.66 kB / 308.9 MB, free: 58.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.005431, allocations: 16.64 kB / 308.9 MB, free: 58.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.005449, allocations: 1.125 kB / 308.9 MB, free: 58.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.005467, allocations: 36.39 kB / 309 MB, free: 58.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.005468, allocations: 0 / 309 MB, free: 58.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001888/0.005657, allocations: 62.03 kB / 309 MB, free: 58.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.005675, allocations: 52.59 kB / 309.1 MB, free: 58.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.005768, allocations: 212.8 kB / 309.3 MB, free: 58.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.005774, allocations: 25.7 kB / 309.3 MB, free: 58.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.005817, allocations: 161.9 kB / 309.5 MB, free: 57.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.085e-06/0.005825, allocations: 14.75 kB / 309.5 MB, free: 57.85 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.005856, allocations: 30.44 kB / 309.5 MB, free: 57.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.742e-05/0.005893, allocations: 0.4934 MB / 310 MB, free: 57.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.005917, allocations: 14.44 kB / 310 MB, free: 57.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/0.005937, allocations: 12.14 kB / 310 MB, free: 57.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.76e-05/0.005984, allocations: 25.62 kB / 310 MB, free: 57.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005986, allocations: 1.125 kB / 310.1 MB, free: 57.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.485e-05/0.006061, allocations: 64.67 kB / 310.1 MB, free: 57.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.006073, allocations: 6.125 kB / 310.1 MB, free: 57.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.006076, allocations: 3.938 kB / 310.1 MB, free: 57.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.006087, allocations: 1.922 kB / 310.1 MB, free: 57.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.908e-05/0.006136, allocations: 14.5 kB / 310.1 MB, free: 57.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.006141, allocations: 5.125 kB / 310.1 MB, free: 57.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.006169, allocations: 10.62 kB / 310.2 MB, free: 57.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.006173, allocations: 1.062 kB / 310.2 MB, free: 57.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.215e-05/0.006206, allocations: 137.3 kB / 310.3 MB, free: 57.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.185e-05/0.006217, allocations: 6.844 kB / 310.3 MB, free: 57.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.704e-05/0.006244, allocations: 30.33 kB / 310.3 MB, free: 57.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.81e-07/0.006245, allocations: 0 / 310.3 MB, free: 57.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 5.305e-05/0.006298, allocations: 61.78 kB / 310.4 MB, free: 57.03 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.32e-06/0.006303, allocations: 5.688 kB / 310.4 MB, free: 57.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-06/0.006304, allocations: 1.062 kB / 310.4 MB, free: 57.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.31e-07/0.006305, allocations: 0 / 310.4 MB, free: 57.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.533e-05/0.006331, allocations: 18.55 kB / 310.4 MB, free: 57.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-06/0.006332, allocations: 0.7031 kB / 310.4 MB, free: 57.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.006351, allocations: 3.078 kB / 310.4 MB, free: 57.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-06/0.006354, allocations: 9.188 kB / 310.4 MB, free: 57.01 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 3.624e-05/0.00639, allocations: 266 kB / 310.7 MB, free: 56.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.006408, allocations: 13.5 kB / 310.7 MB, free: 56.74 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.671e-05/0.006494, allocations: 64.31 kB / 310.8 MB, free: 56.69 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.006497, allocations: 1.125 kB / 310.8 MB, free: 56.69 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.0065, allocations: 0 / 310.8 MB, free: 56.69 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.006504, allocations: 8.547 kB / 310.8 MB, free: 56.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.006678, allocations: 323.3 kB / 311.1 MB, free: 56.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.00668, allocations: 1.25 kB / 311.1 MB, free: 56.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.006702, allocations: 10.77 kB / 311.1 MB, free: 56.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006704, allocations: 2.109 kB / 311.1 MB, free: 56.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.006711, allocations: 1 kB / 311.1 MB, free: 56.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.006713, allocations: 5.188 kB / 311.1 MB, free: 56.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.006714, allocations: 0 / 311.1 MB, free: 56.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.837e-05/0.006783, allocations: 212.3 kB / 311.3 MB, free: 56.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.006807, allocations: 16.36 kB / 311.3 MB, free: 56.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.00682, allocations: 6.156 kB / 311.3 MB, free: 56.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.006857, allocations: 9.312 kB / 311.3 MB, free: 56.13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.006888, allocations: 3.484 kB / 311.3 MB, free: 56.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.006891, allocations: 15.48 kB / 311.4 MB, free: 56.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.756e-05/0.006939, allocations: 158.2 kB / 311.5 MB, free: 56 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006939, allocations: 0 / 311.5 MB, free: 56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000197/0.007136, allocations: 43.64 kB / 311.6 MB, free: 55.99 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.961e-05/0.007216, allocations: 91.66 kB / 311.6 MB, free: 55.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.007319, allocations: 58.02 kB / 311.7 MB, free: 55.87 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.00732, allocations: 0 / 311.7 MB, free: 55.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/0.007338, allocations: 20.48 kB / 311.7 MB, free: 55.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.007526, allocations: 10.14 kB / 311.7 MB, free: 55.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.008072, allocations: 265.7 kB / 312 MB, free: 55.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.765e-05/0.008099, allocations: 62.89 kB / 312.1 MB, free: 55.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.73e-05/0.008127, allocations: 5.781 kB / 312.1 MB, free: 55.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.008148, allocations: 12.88 kB / 312.1 MB, free: 55.56 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008149, allocations: 3.938 kB / 312.1 MB, free: 55.55 MB / 282.7 MB Notification: Performance of Templates: time 0.00257/0.01072, allocations: 0.894 MB / 313 MB, free: 55.45 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.5612436758819968]