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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001004, allocations: 109.5 kB / 16.42 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009656/0.0009656, allocations: 187.5 kB / 17.35 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.184/1.184, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007938/0.007938, allocations: 1.939 MB / 272.5 MB, free: 10.06 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 73.31 kB / 378.9 MB, free: 51.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05843/0.0599, allocations: 47.14 MB / 426 MB, free: 19.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002177/0.0621, allocations: 1.949 MB / 428 MB, free: 18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006907/0.0628, allocations: 0.5818 MB / 428.6 MB, free: 17.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.06288, allocations: 0 / 428.6 MB, free: 17.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.445e-05/0.06293, allocations: 19.84 kB / 428.6 MB, free: 17.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.06305, allocations: 39.58 kB / 428.6 MB, free: 17.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.06323, allocations: 35.95 kB / 428.7 MB, free: 17.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.06337, allocations: 147.2 kB / 428.8 MB, free: 17.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.06348, allocations: 28.98 kB / 428.8 MB, free: 17.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.06354, allocations: 51.78 kB / 428.9 MB, free: 17.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.154e-05/0.06363, allocations: 51.72 kB / 428.9 MB, free: 17.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.06365, allocations: 12 kB / 429 MB, free: 17.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.241e-05/0.06371, allocations: 16 kB / 429 MB, free: 17.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.06373, allocations: 15.92 kB / 429 MB, free: 17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.06378, allocations: 63.66 kB / 429.1 MB, free: 16.94 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.06391, allocations: 111.6 kB / 429.2 MB, free: 16.83 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.06392, allocations: 0 / 429.2 MB, free: 16.83 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.06392, allocations: 0 / 429.2 MB, free: 16.83 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.06393, allocations: 4 kB / 429.2 MB, free: 16.82 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.0004092/0.06434, allocations: 420.3 kB / 429.6 MB, free: 16.37 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.06438, allocations: 11.89 kB / 429.6 MB, free: 16.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.06442, allocations: 16.75 kB / 429.6 MB, free: 16.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.06455, allocations: 203.9 kB / 429.8 MB, free: 16.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.06457, allocations: 4.375 kB / 429.8 MB, free: 16.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.06458, allocations: 8.375 kB / 429.8 MB, free: 16.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.06475, allocations: 102.8 kB / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.06476, allocations: 4 kB / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.06478, allocations: 3.938 kB / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.06479, allocations: 0 / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.06491, allocations: 59.91 kB / 430 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.06533, allocations: 384.5 kB / 430.4 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.06573, allocations: 74.47 kB / 430.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.06579, allocations: 24.86 kB / 430.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.06581, allocations: 0 / 430.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.017e-05/0.06583, allocations: 38.64 kB / 430.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.06584, allocations: 0 / 430.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002121/0.06605, allocations: 89.45 kB / 430.6 MB, free: 15.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.495e-05/0.06608, allocations: 55.41 kB / 430.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.06618, allocations: 182.7 kB / 430.8 MB, free: 14.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.06619, allocations: 25.7 kB / 430.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.06624, allocations: 115.9 kB / 430.9 MB, free: 14.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.06625, allocations: 7.844 kB / 431 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.06629, allocations: 25.62 kB / 431 MB, free: 14.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.291e-05/0.06632, allocations: 318.8 kB / 431.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.438e-05/0.06638, allocations: 32.84 kB / 431.3 MB, free: 14.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.091e-05/0.06643, allocations: 19.98 kB / 431.3 MB, free: 14.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.06652, allocations: 44.84 kB / 431.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.06653, allocations: 0 / 431.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001273/0.06666, allocations: 89.52 kB / 431.5 MB, free: 14.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.06668, allocations: 7.906 kB / 431.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.06669, allocations: 4 kB / 431.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.0667, allocations: 3.938 kB / 431.5 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.952e-05/0.06678, allocations: 12 kB / 431.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.06679, allocations: 0 / 431.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.039e-05/0.06686, allocations: 11.98 kB / 431.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.06687, allocations: 0 / 431.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.283e-05/0.06694, allocations: 104.1 kB / 431.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.248e-05/0.06697, allocations: 19.94 kB / 431.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.574e-05/0.06705, allocations: 41.16 kB / 431.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.06705, allocations: 4 kB / 431.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.000108/0.06717, allocations: 97.36 kB / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-06/0.06718, allocations: 4 kB / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-06/0.06718, allocations: 0 / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-06/0.06719, allocations: 4 kB / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.218e-05/0.06725, allocations: 11.94 kB / 431.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-06/0.06725, allocations: 0 / 431.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.06731, allocations: 11.92 kB / 431.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.06732, allocations: 3.984 kB / 431.8 MB, free: 13.93 MB / 318.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 3.868e-05/0.06736, allocations: 184.2 kB / 432 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.06739, allocations: 11.91 kB / 432 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.06754, allocations: 86.66 kB / 432.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.06755, allocations: 4.031 kB / 432.1 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.06756, allocations: 0 / 432.1 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.0676, allocations: 100.9 kB / 432.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.06762, allocations: 0 / 432.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.06771, allocations: 0 / 432.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.06774, allocations: 4 kB / 432.2 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001199/0.06786, allocations: 141 kB / 432.3 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001202/0.06799, allocations: 250.6 kB / 432.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.093e-05/0.06804, allocations: 16 kB / 432.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.766e-05/0.06811, allocations: 140 kB / 432.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Backend: time 4.81e-07/0.06812, allocations: 0 / 432.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003707/0.0685, allocations: 134.2 kB / 432.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004028/0.06891, allocations: 0.6918 MB / 433.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of Templates: time 0.002909/0.07183, allocations: 1.226 MB / 434.8 MB, free: 10.85 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestPatientValve.makefile (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)