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.001384/0.001384, allocations: 111.2 kB / 16.41 MB, free: 6.488 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.001359/0.001359, allocations: 187 kB / 17.34 MB, free: 5.762 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009824/0.009824, allocations: 1.943 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.001602/0.001602, allocations: 71 kB / 378.9 MB, free: 51.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0749/0.07652, allocations: 47.13 MB / 426 MB, free: 19.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002341/0.0789, allocations: 1.958 MB / 428 MB, free: 18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007459/0.07967, allocations: 0.5742 MB / 428.6 MB, free: 17.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.07974, allocations: 3.938 kB / 428.6 MB, free: 17.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.97e-05/0.0798, allocations: 19.78 kB / 428.6 MB, free: 17.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.07993, allocations: 43.64 kB / 428.6 MB, free: 17.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.08013, allocations: 35.89 kB / 428.7 MB, free: 17.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.08028, allocations: 151.2 kB / 428.8 MB, free: 17.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.0804, allocations: 28.98 kB / 428.8 MB, free: 17.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.08047, allocations: 47.84 kB / 428.9 MB, free: 17.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.289e-05/0.08056, allocations: 59.66 kB / 428.9 MB, free: 17.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.08058, allocations: 8 kB / 429 MB, free: 17.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.639e-05/0.08064, allocations: 16 kB / 429 MB, free: 17.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.08067, allocations: 19.91 kB / 429 MB, free: 17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.08072, allocations: 63.67 kB / 429.1 MB, free: 16.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.08085, allocations: 103.6 kB / 429.2 MB, free: 16.83 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.08086, allocations: 0 / 429.2 MB, free: 16.83 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08087, allocations: 0 / 429.2 MB, free: 16.83 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.08088, allocations: 3.984 kB / 429.2 MB, free: 16.83 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.000433/0.08132, allocations: 420.4 kB / 429.6 MB, free: 16.37 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.08135, allocations: 11.89 kB / 429.6 MB, free: 16.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.0814, allocations: 16.75 kB / 429.6 MB, free: 16.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.08154, allocations: 211.9 kB / 429.8 MB, free: 16.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.08156, allocations: 4.375 kB / 429.8 MB, free: 16.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.08158, allocations: 8.375 kB / 429.8 MB, free: 16.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.08175, allocations: 98.81 kB / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.08177, allocations: 0 / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.08179, allocations: 4 kB / 429.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.0818, allocations: 7.938 kB / 429.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.08192, allocations: 51.97 kB / 430 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.08237, allocations: 388.5 kB / 430.4 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.08281, allocations: 70.47 kB / 430.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.08287, allocations: 28.86 kB / 430.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.08289, allocations: 4.078 kB / 430.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.091e-05/0.08291, allocations: 30.56 kB / 430.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.08292, allocations: 0 / 430.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002367/0.08316, allocations: 85.52 kB / 430.6 MB, free: 15.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.08319, allocations: 55.41 kB / 430.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.08331, allocations: 190.6 kB / 430.8 MB, free: 14.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.08333, allocations: 25.7 kB / 430.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.08337, allocations: 111.9 kB / 430.9 MB, free: 14.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.0834, allocations: 11.84 kB / 431 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.08344, allocations: 25.61 kB / 431 MB, free: 14.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.08349, allocations: 318.8 kB / 431.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.767e-05/0.08355, allocations: 24.84 kB / 431.3 MB, free: 14.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.493e-05/0.0836, allocations: 23.98 kB / 431.3 MB, free: 14.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.235e-05/0.0837, allocations: 44.84 kB / 431.4 MB, free: 14.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.08371, allocations: 0 / 431.4 MB, free: 14.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001399/0.08386, allocations: 93.52 kB / 431.5 MB, free: 14.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.08388, allocations: 7.906 kB / 431.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.08389, allocations: 7.875 kB / 431.5 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.08391, allocations: 0 / 431.5 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.435e-05/0.08399, allocations: 8 kB / 431.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.084, allocations: 7.984 kB / 431.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.08407, allocations: 8 kB / 431.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.08408, allocations: 4 kB / 431.5 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001051/0.0842, allocations: 104.1 kB / 431.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.617e-05/0.08424, allocations: 16 kB / 431.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.158e-05/0.08432, allocations: 45.16 kB / 431.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.08432, allocations: 0 / 431.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001172/0.08445, allocations: 85.42 kB / 431.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/0.08446, allocations: 15.94 kB / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-06/0.08447, allocations: 0 / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-06/0.08447, allocations: 3.938 kB / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.259e-05/0.08453, allocations: 8 kB / 431.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-06/0.08454, allocations: 0 / 431.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.194e-05/0.0846, allocations: 11.92 kB / 431.8 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-06/0.0846, allocations: 0 / 431.8 MB, free: 13.94 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 4.328e-05/0.08465, allocations: 188.2 kB / 432 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.08469, allocations: 8.094 kB / 432 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.08485, allocations: 94.45 kB / 432.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.08486, allocations: 0 / 432.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.08487, allocations: 0 / 432.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.08488, allocations: 0 / 432.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.08516, allocations: 359.2 kB / 432.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.08517, allocations: 0 / 432.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.08523, allocations: 8 kB / 432.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.08523, allocations: 4.031 kB / 432.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.08525, allocations: 0 / 432.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.08525, allocations: 4 kB / 432.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.08526, allocations: 0 / 432.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.08539, allocations: 172.2 kB / 432.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.08544, allocations: 100.9 kB / 432.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.08547, allocations: 0 / 432.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-05/0.08556, allocations: 7.984 kB / 432.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.0856, allocations: 7.938 kB / 432.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.08561, allocations: 0 / 432.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.561e-05/0.08569, allocations: 144 kB / 432.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0857, allocations: 0 / 432.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000301/0.086, allocations: 36 kB / 432.9 MB, free: 12.71 MB / 318.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 8.279e-05/0.08609, allocations: 103.2 kB / 433 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.08629, allocations: 75.97 kB / 433.1 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.0863, allocations: 0 / 433.1 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.398e-05/0.08635, allocations: 11.98 kB / 433.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.08668, allocations: 23.88 kB / 433.1 MB, free: 12.49 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.0871, allocations: 290.4 kB / 433.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.08721, allocations: 0.704 MB / 434.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.08725, allocations: 11.44 kB / 434.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.08726, allocations: 0 / 434.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of Templates: time 0.002314/0.08957, allocations: 1.235 MB / 435.4 MB, free: 10.2 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)