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.0008875/0.0008927, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006382/0.006382, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.463/1.463, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009203/0.009203, allocations: 1.928 MB / 272.7 MB, free: 3.281 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.0005654/0.0005654, allocations: 12 kB / 331.5 MB, free: 32.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08716/0.08774, allocations: 48.1 MB / 379.6 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.003496/0.09132, allocations: 1.916 MB / 381.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.09291, allocations: 0.6013 MB / 382.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.09312, allocations: 4 kB / 382.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.09e-05/0.0932, allocations: 15.84 kB / 382.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.09343, allocations: 35.69 kB / 382.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.09372, allocations: 31.97 kB / 382.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.09394, allocations: 127.3 kB / 382.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.09409, allocations: 32.83 kB / 382.4 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.09419, allocations: 47.73 kB / 382.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.09433, allocations: 51.77 kB / 382.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.09436, allocations: 4 kB / 382.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.819e-05/0.09444, allocations: 8 kB / 382.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.09447, allocations: 19.92 kB / 382.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.359e-05/0.09457, allocations: 77.38 kB / 382.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.0948, allocations: 115.5 kB / 382.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.09481, allocations: 0 / 382.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.859e-06/0.09483, allocations: 0 / 382.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.09484, allocations: 3.938 kB / 382.7 MB, free: 13.73 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.0006742/0.09552, allocations: 403 kB / 383.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.09557, allocations: 8.031 kB / 383.1 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.068e-05/0.09564, allocations: 12.84 kB / 383.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.09591, allocations: 206.5 kB / 383.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.09594, allocations: 12.38 kB / 383.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.09597, allocations: 4.375 kB / 383.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.09621, allocations: 93.97 kB / 383.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.09624, allocations: 3.938 kB / 383.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.09626, allocations: 0 / 383.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.09627, allocations: 4 kB / 383.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.09644, allocations: 59.88 kB / 383.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.09714, allocations: 392.4 kB / 383.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/0.09762, allocations: 70.53 kB / 383.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/0.0977, allocations: 28.94 kB / 383.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.09773, allocations: 0 / 383.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.09776, allocations: 30.56 kB / 384 MB, free: 12.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.09777, allocations: 0 / 384 MB, free: 12.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003203/0.09809, allocations: 101.5 kB / 384.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.09817, allocations: 55.41 kB / 384.1 MB, free: 12.1 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.09833, allocations: 178.7 kB / 384.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.09836, allocations: 29.7 kB / 384.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.09844, allocations: 108 kB / 384.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.09846, allocations: 15.73 kB / 384.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.0985, allocations: 21.7 kB / 384.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.09865, allocations: 314.8 kB / 384.8 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.059e-05/0.09872, allocations: 23.98 kB / 384.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.09878, allocations: 27.98 kB / 384.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.0989, allocations: 48.91 kB / 384.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.09891, allocations: 0 / 384.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001643/0.09908, allocations: 97.52 kB / 385 MB, free: 11.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.09919, allocations: 99.75 kB / 385.1 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.0992, allocations: 0 / 385.1 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.09923, allocations: 4 kB / 385.1 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.09931, allocations: 15.98 kB / 385.1 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.09932, allocations: 0 / 385.1 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.09939, allocations: 7.906 kB / 385.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.09941, allocations: 4 kB / 385.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.76e-06/0.09942, allocations: 4 kB / 385.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001098/0.09954, allocations: 51.92 kB / 385.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-06/0.09955, allocations: 0 / 385.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-06/0.09955, allocations: 0 / 385.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.09961, allocations: 11.98 kB / 385.2 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.09962, allocations: 7.938 kB / 385.2 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.09968, allocations: 11.94 kB / 385.2 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-06/0.09969, allocations: 0 / 385.2 MB, free: 10.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.09981, allocations: 193.1 kB / 385.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.09985, allocations: 15.8 kB / 385.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.1001, allocations: 82.55 kB / 385.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1001, allocations: 4.172 kB / 385.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1001, allocations: 0 / 385.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.1001, allocations: 3.984 kB / 385.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.1005, allocations: 359.4 kB / 385.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1005, allocations: 0 / 385.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.1006, allocations: 19.86 kB / 385.9 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1006, allocations: 4 kB / 385.9 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1006, allocations: 128 / 385.9 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.1006, allocations: 4 kB / 385.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1006, allocations: 0 / 385.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.1008, allocations: 184.2 kB / 386 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.1009, allocations: 92.94 kB / 386.1 MB, free: 9.926 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1009, allocations: 0 / 386.1 MB, free: 9.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/0.101, allocations: 8 kB / 386.1 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.101, allocations: 11.92 kB / 386.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1011, allocations: 7.938 kB / 386.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1012, allocations: 136 kB / 386.3 MB, free: 9.766 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1012, allocations: 0 / 386.3 MB, free: 9.766 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.1015, allocations: 40 kB / 386.3 MB, free: 9.727 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001193/0.1016, allocations: 95.17 kB / 386.4 MB, free: 9.625 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.1019, allocations: 75.91 kB / 386.5 MB, free: 9.551 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1019, allocations: 4 kB / 386.5 MB, free: 9.547 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.515e-05/0.102, allocations: 19.98 kB / 386.5 MB, free: 9.527 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1023, allocations: 11.94 kB / 386.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.1029, allocations: 320.8 kB / 386.8 MB, free: 9.176 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.1033, allocations: 0.712 MB / 387.6 MB, free: 8.438 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.561e-05/0.1033, allocations: 4.438 kB / 387.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.1034, allocations: 11.44 kB / 387.6 MB, free: 8.422 MB / 286.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1034, allocations: 0 / 387.6 MB, free: 8.422 MB / 286.1 MB Notification: Performance of Templates: time 0.003496/0.1069, allocations: 0.9455 MB / 388.5 MB, free: 7.477 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: