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.0008599/0.0008599, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009173/0.0009174, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007109/0.007109, allocations: 1.92 MB / 272.3 MB, free: 3.402 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.0004475/0.0004477, allocations: 12.22 kB / 330.9 MB, free: 33.37 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06505/0.06551, allocations: 48.1 MB / 379 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.00191/0.06746, allocations: 1.765 MB / 380.7 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008009/0.06828, allocations: 0.5782 MB / 381.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.06837, allocations: 4 kB / 381.3 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.06842, allocations: 15.84 kB / 381.3 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.06857, allocations: 79.77 kB / 381.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.06873, allocations: 31.91 kB / 381.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.06887, allocations: 99.72 kB / 381.5 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.06897, allocations: 28.83 kB / 381.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.698e-05/0.06905, allocations: 43.84 kB / 381.6 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.06914, allocations: 51.78 kB / 381.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.06916, allocations: 4 kB / 381.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.536e-05/0.06922, allocations: 12 kB / 381.7 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.06924, allocations: 15.92 kB / 381.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.06927, allocations: 41.64 kB / 381.7 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.729e-05/0.06938, allocations: 83.81 kB / 381.8 MB, free: 14.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.06939, allocations: 0 / 381.8 MB, free: 14.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.06939, allocations: 0 / 381.8 MB, free: 14.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.0694, allocations: 0 / 381.8 MB, free: 14.35 MB / 286.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.0004488/0.06986, allocations: 402.8 kB / 382.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.06989, allocations: 8.031 kB / 382.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.06993, allocations: 19.83 kB / 382.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.07011, allocations: 201.2 kB / 382.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.07013, allocations: 11.95 kB / 382.4 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.07015, allocations: 4 kB / 382.4 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.07032, allocations: 92.62 kB / 382.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.07034, allocations: 4 kB / 382.5 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.07036, allocations: 4 kB / 382.5 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.07037, allocations: 3.938 kB / 382.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.07051, allocations: 67.86 kB / 382.6 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.07101, allocations: 380.5 kB / 383 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.07142, allocations: 74.47 kB / 383 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.07144, allocations: 0 / 383 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.07147, allocations: 30.56 kB / 383.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.07147, allocations: 0 / 383.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002436/0.07172, allocations: 105.7 kB / 383.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.07176, allocations: 51.41 kB / 383.2 MB, free: 12.74 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.07191, allocations: 182.6 kB / 383.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.07193, allocations: 29.64 kB / 383.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.07199, allocations: 112 kB / 383.5 MB, free: 12.4 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.07201, allocations: 15.75 kB / 383.6 MB, free: 12.39 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.07202, allocations: 0 / 383.6 MB, free: 12.39 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.07211, allocations: 334.8 kB / 383.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.474e-05/0.07217, allocations: 12 kB / 383.9 MB, free: 12.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.35e-05/0.07222, allocations: 19.98 kB / 383.9 MB, free: 12.02 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.333e-05/0.07228, allocations: 23.98 kB / 383.9 MB, free: 12 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.07229, allocations: 0 / 383.9 MB, free: 12 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001466/0.07244, allocations: 85.59 kB / 384 MB, free: 11.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.07248, allocations: 92.95 kB / 384.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.07249, allocations: 3.984 kB / 384.1 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.07251, allocations: 4 kB / 384.1 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.07259, allocations: 15.94 kB / 384.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.0726, allocations: 0 / 384.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.07267, allocations: 7.906 kB / 384.1 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.07268, allocations: 11.98 kB / 384.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.0727, allocations: 4 kB / 384.2 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 9.913e-05/0.0728, allocations: 40.17 kB / 384.2 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-06/0.07281, allocations: 4.062 kB / 384.2 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-06/0.07282, allocations: 4 kB / 384.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.309e-05/0.07288, allocations: 8 kB / 384.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.07289, allocations: 3.984 kB / 384.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.07295, allocations: 23.83 kB / 384.2 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.07296, allocations: 4 kB / 384.3 MB, free: 11.68 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.07304, allocations: 197 kB / 384.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.07308, allocations: 11.81 kB / 384.5 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.07326, allocations: 82.59 kB / 384.5 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.07327, allocations: 0 / 384.5 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.07328, allocations: 0 / 384.5 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.07328, allocations: 7.953 kB / 384.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.07362, allocations: 351.4 kB / 384.9 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.07363, allocations: 0 / 384.9 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.07368, allocations: 12 kB / 384.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.07369, allocations: 0 / 384.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.07371, allocations: 4 kB / 384.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.07371, allocations: 3.984 kB / 384.9 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.07372, allocations: 7.984 kB / 384.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.07389, allocations: 189.9 kB / 385.1 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.07396, allocations: 96.98 kB / 385.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.07398, allocations: 4.281 kB / 385.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.07407, allocations: 8 kB / 385.2 MB, free: 10.6 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.0741, allocations: 0 / 385.2 MB, free: 10.6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.07411, allocations: 4 kB / 385.2 MB, free: 10.59 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.863e-05/0.07422, allocations: 140 kB / 385.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07422, allocations: 0 / 385.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.07451, allocations: 39.91 kB / 385.4 MB, free: 10.42 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.653e-05/0.0746, allocations: 91.25 kB / 385.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.0748, allocations: 83.88 kB / 385.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.07481, allocations: 0 / 385.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.07486, allocations: 19.94 kB / 385.6 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.07505, allocations: 16.11 kB / 385.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.07545, allocations: 312.6 kB / 385.9 MB, free: 9.871 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.07568, allocations: 0.7119 MB / 386.6 MB, free: 9.133 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.023e-05/0.07572, allocations: 8.422 kB / 386.6 MB, free: 9.125 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.07575, allocations: 11.44 kB / 386.6 MB, free: 9.113 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.07576, allocations: 0 / 386.6 MB, free: 9.113 MB / 286.1 MB Notification: Performance of Templates: time 0.002913/0.07868, allocations: 0.9118 MB / 387.5 MB, free: 8.203 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestPatientValve.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: