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.001145/0.001145, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001156/0.001156, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.145/1.145, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007087/0.007087, allocations: 1.935 MB / 272.5 MB, free: 10.07 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.00133/0.00133, allocations: 65.23 kB / 378.9 MB, free: 51.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05655/0.05788, allocations: 47.15 MB / 426 MB, free: 19.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002081/0.05999, allocations: 1.955 MB / 428 MB, free: 18.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005873/0.06059, allocations: 0.5625 MB / 428.6 MB, free: 17.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.06065, allocations: 11.94 kB / 428.6 MB, free: 17.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.129e-05/0.0607, allocations: 19.78 kB / 428.6 MB, free: 17.42 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.743e-05/0.06081, allocations: 43.62 kB / 428.6 MB, free: 17.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.06098, allocations: 31.91 kB / 428.7 MB, free: 17.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.06111, allocations: 139.3 kB / 428.8 MB, free: 17.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.06121, allocations: 40.95 kB / 428.8 MB, free: 17.17 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.06127, allocations: 47.86 kB / 428.9 MB, free: 17.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.06135, allocations: 55.66 kB / 428.9 MB, free: 17.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.06137, allocations: 11.94 kB / 429 MB, free: 17.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.675e-05/0.06142, allocations: 15.98 kB / 429 MB, free: 17.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.06144, allocations: 23.92 kB / 429 MB, free: 17.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.06149, allocations: 55.67 kB / 429 MB, free: 16.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.0616, allocations: 111.6 kB / 429.2 MB, free: 16.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.06161, allocations: 0 / 429.2 MB, free: 16.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.06162, allocations: 4 kB / 429.2 MB, free: 16.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.06163, allocations: 0 / 429.2 MB, free: 16.85 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.0003842/0.06202, allocations: 423 kB / 429.6 MB, free: 16.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.492e-05/0.06205, allocations: 11.89 kB / 429.6 MB, free: 16.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.06209, allocations: 16.75 kB / 429.6 MB, free: 16.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.06221, allocations: 200 kB / 429.8 MB, free: 16.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.06223, allocations: 4.375 kB / 429.8 MB, free: 16.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.06224, allocations: 8.375 kB / 429.8 MB, free: 16.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.0624, allocations: 98.81 kB / 429.9 MB, free: 16.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.06241, allocations: 4 kB / 429.9 MB, free: 16.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.06243, allocations: 0 / 429.9 MB, free: 16.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.06243, allocations: 3.938 kB / 429.9 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.06255, allocations: 55.97 kB / 430 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.06294, allocations: 388.5 kB / 430.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.06332, allocations: 74.47 kB / 430.4 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.06338, allocations: 24.94 kB / 430.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.0634, allocations: 0 / 430.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.668e-06/0.06341, allocations: 38.56 kB / 430.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.06342, allocations: 0 / 430.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002073/0.06363, allocations: 89.52 kB / 430.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.543e-05/0.06366, allocations: 55.39 kB / 430.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.06376, allocations: 178.7 kB / 430.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-06/0.06377, allocations: 29.64 kB / 430.8 MB, free: 14.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.06381, allocations: 111.9 kB / 430.9 MB, free: 14.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.236e-06/0.06382, allocations: 15.83 kB / 430.9 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.06385, allocations: 25.62 kB / 431 MB, free: 14.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.213e-05/0.06389, allocations: 318.8 kB / 431.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/0.06395, allocations: 32.84 kB / 431.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.051e-05/0.064, allocations: 16 kB / 431.3 MB, free: 14.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.825e-05/0.06409, allocations: 48.83 kB / 431.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.0641, allocations: 0 / 431.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001271/0.06423, allocations: 81.72 kB / 431.5 MB, free: 14.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.06424, allocations: 4 kB / 431.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.06425, allocations: 3.938 kB / 431.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.06427, allocations: 8 kB / 431.5 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.007e-05/0.06434, allocations: 19.92 kB / 431.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.06435, allocations: 3.938 kB / 431.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/0.06442, allocations: 8 kB / 431.5 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.06443, allocations: 0 / 431.5 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.077e-05/0.06449, allocations: 104.1 kB / 431.6 MB, free: 14.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.38e-05/0.06453, allocations: 23.97 kB / 431.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.75e-05/0.06461, allocations: 36.84 kB / 431.7 MB, free: 14.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.51e-07/0.06461, allocations: 8 kB / 431.7 MB, free: 14.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001087/0.06473, allocations: 81.44 kB / 431.8 MB, free: 14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.949e-06/0.06474, allocations: 11.84 kB / 431.8 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.62e-07/0.06474, allocations: 0 / 431.8 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-06/0.06475, allocations: 3.938 kB / 431.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.934e-05/0.0648, allocations: 19.98 kB / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-06/0.06481, allocations: 0 / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.06486, allocations: 3.938 kB / 431.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-06/0.06487, allocations: 4 kB / 431.8 MB, free: 13.96 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.512e-05/0.06491, allocations: 184.2 kB / 432 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.06494, allocations: 15.89 kB / 432 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.06508, allocations: 86.66 kB / 432.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.06509, allocations: 0 / 432.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.0651, allocations: 4 kB / 432.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.06511, allocations: 256 / 432.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.06536, allocations: 355.3 kB / 432.4 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.06537, allocations: 4 kB / 432.4 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.06542, allocations: 15.92 kB / 432.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.06542, allocations: 0 / 432.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.06543, allocations: 0 / 432.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.06544, allocations: 0 / 432.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.06544, allocations: 0 / 432.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.06557, allocations: 180.3 kB / 432.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.06561, allocations: 92.91 kB / 432.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.06563, allocations: 8 kB / 432.7 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.06571, allocations: 0 / 432.7 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.06574, allocations: 11.92 kB / 432.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.06575, allocations: 0 / 432.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.679e-05/0.06582, allocations: 140 kB / 432.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.06583, allocations: 0 / 432.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.06611, allocations: 36 kB / 432.9 MB, free: 12.73 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 6.09e-05/0.06617, allocations: 99.23 kB / 433 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.06635, allocations: 67.91 kB / 433.1 MB, free: 12.56 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.06636, allocations: 0 / 433.1 MB, free: 12.56 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.0664, allocations: 19.98 kB / 433.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.06664, allocations: 15.88 kB / 433.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.06698, allocations: 298.4 kB / 433.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.347e-05/0.06707, allocations: 0.704 MB / 434.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.06711, allocations: 15.42 kB / 434.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.06711, allocations: 4 kB / 434.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of Templates: time 0.001931/0.06905, allocations: 1.235 MB / 435.4 MB, free: 10.21 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)