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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestPatientValve,fileNamePrefix="MEV_MEV_Test_TestPatientValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPatientValve,fileNamePrefix="MEV_MEV_Test_TestPatientValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01244/0.01244, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.2 MB / 221.4 MB, free: 7.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008807/0.0008807, allocations: 96.84 kB / 270.1 MB, free: 7.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.63e-05/2.632e-05, allocations: 7.938 kB / 326.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2229, allocations: 48.06 MB / 374.2 MB, free: 44.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09515/0.3181, allocations: 76.2 MB / 450.4 MB, free: 2.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.3184, allocations: 71.97 kB / 450.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009054/0.3274, allocations: 2.406 MB / 452.9 MB, free: 188 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3275, allocations: 0 / 452.9 MB, free: 188 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.3275, allocations: 8 kB / 452.9 MB, free: 180 kB / 330.7 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.0005607/0.3281, allocations: 387.2 kB / 453.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3281, allocations: 8.031 kB / 453.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.3282, allocations: 42.56 kB / 453.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.3283, allocations: 7.906 kB / 453.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3285, allocations: 199.7 kB / 453.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3285, allocations: 8 kB / 453.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.3286, allocations: 11.95 kB / 453.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.3288, allocations: 81.67 kB / 453.6 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3288, allocations: 3.188 kB / 453.6 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3288, allocations: 4 kB / 453.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3289, allocations: 4 kB / 453.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.329, allocations: 47.91 kB / 453.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007253/0.3297, allocations: 393.5 kB / 454 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.3302, allocations: 58.47 kB / 454.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.3303, allocations: 16.86 kB / 454.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3303, allocations: 0 / 454.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.3303, allocations: 30.56 kB / 454.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.3304, allocations: 4 kB / 454.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002368/0.3306, allocations: 69.7 kB / 454.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3306, allocations: 55.41 kB / 454.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.3309, allocations: 162 kB / 454.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3309, allocations: 27.45 kB / 454.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.331, allocations: 112 kB / 454.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.3311, allocations: 11.81 kB / 454.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.3311, allocations: 0 / 454.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3312, allocations: 319.4 kB / 454.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.3313, allocations: 20 kB / 454.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.739e-05/0.3313, allocations: 12 kB / 454.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.964e-05/0.3314, allocations: 12 kB / 454.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3314, allocations: 0 / 454.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001237/0.3315, allocations: 73.78 kB / 455 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.3316, allocations: 96.95 kB / 455.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3316, allocations: 4 kB / 455.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3316, allocations: 3.984 kB / 455.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.3317, allocations: 19.94 kB / 455.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3317, allocations: 1.797 kB / 455.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.3318, allocations: 11.84 kB / 455.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.3318, allocations: 7.922 kB / 455.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.3318, allocations: 4 kB / 455.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001176/0.332, allocations: 32 kB / 455.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-06/0.332, allocations: 0 / 455.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-06/0.332, allocations: 0 / 455.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.3321, allocations: 18.52 kB / 455.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-06/0.3321, allocations: 4 kB / 455.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.3321, allocations: 4 kB / 455.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.3321, allocations: 0 / 455.2 MB, free: 13.62 MB / 346.7 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 () * 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 6.782e-05/0.3322, allocations: 116.9 kB / 455.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.3323, allocations: 11.81 kB / 455.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.3324, allocations: 66.61 kB / 455.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3324, allocations: 4 kB / 455.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3324, allocations: 0 / 455.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3325, allocations: 4 kB / 455.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.3328, allocations: 343.3 kB / 455.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3329, allocations: 0 / 455.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.105e-05/0.3329, allocations: 11.98 kB / 455.7 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3329, allocations: 0 / 455.7 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3329, allocations: 0 / 455.7 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3329, allocations: 0 / 455.7 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.333, allocations: 4 kB / 455.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.3331, allocations: 185.9 kB / 455.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.175e-05/0.3332, allocations: 92.94 kB / 456 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3332, allocations: 4 kB / 456 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.3333, allocations: 8.047 kB / 456 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.3334, allocations: 12.14 kB / 456 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3334, allocations: 0 / 456 MB, free: 12.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.3335, allocations: 135.2 kB / 456.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3335, allocations: 0 / 456.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002998/0.3338, allocations: 43.98 kB / 456.2 MB, free: 12.48 MB / 346.7 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 () * 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 0.0004694/0.3343, allocations: 0.7958 MB / 457 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.3344, allocations: 56.7 kB / 457.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3345, allocations: 4 kB / 457.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.3345, allocations: 12 kB / 457.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.3347, allocations: 12.89 kB / 457.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.3352, allocations: 176.8 kB / 457.3 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.3355, allocations: 0.7088 MB / 458 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.548e-05/0.3355, allocations: 20.36 kB / 458 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.3356, allocations: 23.44 kB / 458 MB, free: 10.57 MB / 346.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3356, allocations: 4 kB / 458 MB, free: 10.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.3485, allocations: 2.228 MB / 460.3 MB, free: 8.426 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.3487, allocations: 117.4 kB / 460.4 MB, free: 8.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/1.945, allocations: 0 / 460.4 MB, free: 8.27 MB / 346.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPatientValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPatientValve.fmu > MEV_MEV.Test.TestPatientValve.pipe 2>&1)