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.006862/0.006862, allocations: 99 kB / 15.73 MB, free: 6.008 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.001356/0.001356, allocations: 192.2 kB / 16.67 MB, free: 5.938 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.486/1.486, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009353/0.009352, allocations: 1.935 MB / 271.8 MB, free: 3.254 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.00147/0.00147, allocations: 68.38 kB / 378.2 MB, free: 448 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.09208, allocations: 47.13 MB / 425.4 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.1681/0.2602, allocations: 1.952 MB / 427.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007858/0.261, allocations: 0.5718 MB / 427.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.2612, allocations: 0.8438 kB / 427.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.555e-05/0.2612, allocations: 20.25 kB / 427.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.2613, allocations: 49.78 kB / 428 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.2615, allocations: 33.64 kB / 428 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.2617, allocations: 136 kB / 428.1 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2618, allocations: 38.81 kB / 428.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.2619, allocations: 49.08 kB / 428.2 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.262, allocations: 55.78 kB / 428.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.262, allocations: 8.719 kB / 428.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.277e-05/0.2621, allocations: 14.03 kB / 428.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.2621, allocations: 22.66 kB / 428.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.2621, allocations: 56.47 kB / 428.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.2623, allocations: 112.4 kB / 428.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2623, allocations: 0 / 428.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2623, allocations: 0 / 428.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.2623, allocations: 1.125 kB / 428.5 MB, free: 10.39 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.0005496/0.2629, allocations: 436.5 kB / 428.9 MB, free: 9.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2629, allocations: 13.52 kB / 428.9 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.263, allocations: 15.41 kB / 428.9 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.2631, allocations: 204.1 kB / 429.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2632, allocations: 3.438 kB / 429.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/0.2632, allocations: 9.562 kB / 429.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.2634, allocations: 92.47 kB / 429.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2634, allocations: 0 / 429.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2634, allocations: 4 kB / 429.2 MB, free: 9.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2634, allocations: 6.688 kB / 429.2 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.2635, allocations: 58.19 kB / 429.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.264, allocations: 390.4 kB / 429.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.2644, allocations: 69.56 kB / 429.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.2645, allocations: 22.12 kB / 429.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.2645, allocations: 0 / 429.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.2646, allocations: 35.56 kB / 429.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.2646, allocations: 0 / 429.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002592/0.2648, allocations: 92.95 kB / 429.9 MB, free: 9.305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.2649, allocations: 53.52 kB / 430 MB, free: 9.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.265, allocations: 189.6 kB / 430.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.265, allocations: 25.7 kB / 430.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.2651, allocations: 110.7 kB / 430.3 MB, free: 9.004 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.2651, allocations: 15.38 kB / 430.3 MB, free: 8.996 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.2652, allocations: 23.62 kB / 430.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.2652, allocations: 320.7 kB / 430.6 MB, free: 8.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.514e-05/0.2653, allocations: 22.5 kB / 430.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.175e-05/0.2653, allocations: 25.09 kB / 430.7 MB, free: 8.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.2655, allocations: 43.61 kB / 430.7 MB, free: 8.645 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2655, allocations: 0 / 430.7 MB, free: 8.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001536/0.2656, allocations: 88.86 kB / 430.8 MB, free: 8.605 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2657, allocations: 10.67 kB / 430.8 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2657, allocations: 3.938 kB / 430.8 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2657, allocations: 1.656 kB / 430.8 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.2658, allocations: 12.12 kB / 430.8 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.2658, allocations: 4 kB / 430.8 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.2658, allocations: 12.8 kB / 430.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.2659, allocations: 1.906 kB / 430.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.914e-05/0.2659, allocations: 103.1 kB / 430.9 MB, free: 8.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.14e-05/0.266, allocations: 18 kB / 431 MB, free: 8.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.291e-05/0.2661, allocations: 43.67 kB / 431 MB, free: 8.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.72e-07/0.2661, allocations: 3.938 kB / 431 MB, free: 8.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001315/0.2662, allocations: 80.69 kB / 431.1 MB, free: 8.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.104e-06/0.2662, allocations: 8.781 kB / 431.1 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.2662, allocations: 3.938 kB / 431.1 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-06/0.2663, allocations: 5.703 kB / 431.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.2663, allocations: 10.27 kB / 431.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.2663, allocations: 2.109 kB / 431.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.2664, allocations: 2.75 kB / 431.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.2664, allocations: 1.188 kB / 431.1 MB, free: 8.445 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 5.15e-05/0.2664, allocations: 185.8 kB / 431.3 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.2665, allocations: 18.34 kB / 431.3 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.2667, allocations: 86.42 kB / 431.4 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2667, allocations: 0.6094 kB / 431.4 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2667, allocations: 1.375 kB / 431.4 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2667, allocations: 0.6562 kB / 431.4 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.267, allocations: 356.6 kB / 431.8 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.267, allocations: 2.188 kB / 431.8 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.2671, allocations: 12.38 kB / 431.8 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2671, allocations: 1.469 kB / 431.8 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.2671, allocations: 2.438 kB / 431.8 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2671, allocations: 1.781 kB / 431.8 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2671, allocations: 0 / 431.8 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.2673, allocations: 182.4 kB / 432 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.2673, allocations: 96.88 kB / 432 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.2674, allocations: 5.922 kB / 432.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.2674, allocations: 2.344 kB / 432.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.2675, allocations: 4.062 kB / 432.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2675, allocations: 1.75 kB / 432.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.606e-05/0.2676, allocations: 140.1 kB / 432.2 MB, free: 7.551 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2676, allocations: 0 / 432.2 MB, free: 7.551 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.2679, allocations: 38.19 kB / 432.2 MB, free: 7.551 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 9.769e-05/0.268, allocations: 99.09 kB / 432.3 MB, free: 7.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.2683, allocations: 70.31 kB / 432.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2683, allocations: 0 / 432.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.509e-05/0.2683, allocations: 17.53 kB / 432.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.2688, allocations: 19.08 kB / 432.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.2693, allocations: 270 kB / 432.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.2694, allocations: 0.705 MB / 433.4 MB, free: 6.559 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.837e-05/0.2695, allocations: 11.66 kB / 433.4 MB, free: 6.555 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.2695, allocations: 16.55 kB / 433.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2695, allocations: 4 kB / 433.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of Templates: time 0.003651/0.2732, allocations: 1.015 MB / 434.5 MB, free: 6.469 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)