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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 207.6 MB / 229.8 MB, free: 4.246 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009862/0.009862, allocations: 1.954 MB / 283.6 MB, free: 14.52 MB / 238.1 MB " [Timeout remaining time 180] 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: "" <> 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"}) [Timeout 660] "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.002145/0.002145, allocations: 75.89 kB / 396.5 MB, free: 8.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2832, allocations: 49.65 MB / 446.2 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002942/0.2862, allocations: 1.971 MB / 448.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008803/0.287, allocations: 0.5809 MB / 448.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.2871, allocations: 1.156 kB / 448.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.536e-05/0.2871, allocations: 15.91 kB / 448.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.2873, allocations: 56.09 kB / 448.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.2875, allocations: 32.31 kB / 448.8 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.2877, allocations: 136.5 kB / 449 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.2878, allocations: 24.7 kB / 449 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.394e-05/0.2879, allocations: 47.52 kB / 449.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.729e-05/0.288, allocations: 59.22 kB / 449.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.288, allocations: 12.25 kB / 449.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.235e-05/0.2881, allocations: 14.06 kB / 449.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.2881, allocations: 22.02 kB / 449.2 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.2882, allocations: 59.86 kB / 449.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.2883, allocations: 112.2 kB / 449.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2883, allocations: 0 / 449.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2883, allocations: 1.75 kB / 449.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.2884, allocations: 0 / 449.3 MB, free: 6.387 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.0004953/0.2889, allocations: 427.6 kB / 449.7 MB, free: 5.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2889, allocations: 13.89 kB / 449.8 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.2889, allocations: 39.75 kB / 449.8 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.289, allocations: 14.16 kB / 449.8 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.2891, allocations: 209.4 kB / 450 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2891, allocations: 8.375 kB / 450 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.2892, allocations: 9.406 kB / 450 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.2893, allocations: 96.36 kB / 450.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.2894, allocations: 0 / 450.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2894, allocations: 1.156 kB / 450.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2894, allocations: 6.219 kB / 450.1 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.2895, allocations: 61.03 kB / 450.2 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.29, allocations: 380.9 kB / 450.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.2905, allocations: 64.12 kB / 450.6 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.967e-05/0.2905, allocations: 23.27 kB / 450.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.2905, allocations: 0.5625 kB / 450.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.2906, allocations: 40.38 kB / 450.7 MB, free: 5.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2906, allocations: 0 / 450.7 MB, free: 5.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002718/0.2908, allocations: 92.16 kB / 450.8 MB, free: 5.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.2908, allocations: 52.78 kB / 450.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.291, allocations: 185.8 kB / 451 MB, free: 4.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.291, allocations: 33.67 kB / 451 MB, free: 4.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.2911, allocations: 114.5 kB / 451.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.2911, allocations: 14.52 kB / 451.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.2912, allocations: 24.77 kB / 451.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.817e-05/0.2912, allocations: 320.3 kB / 451.5 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-05/0.2913, allocations: 22.53 kB / 451.5 MB, free: 4.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.2914, allocations: 25.61 kB / 451.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.2915, allocations: 47.62 kB / 451.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2915, allocations: 0 / 451.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000183/0.2917, allocations: 87.19 kB / 451.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2917, allocations: 9.531 kB / 451.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2917, allocations: 192 / 451.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2917, allocations: 0 / 451.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.2918, allocations: 16.69 kB / 451.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2918, allocations: 1.469 kB / 451.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.103e-05/0.2919, allocations: 14.55 kB / 451.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.2919, allocations: 5.375 kB / 451.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.507e-05/0.2919, allocations: 103.2 kB / 451.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.742e-05/0.292, allocations: 16.67 kB / 451.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.713e-05/0.2921, allocations: 38.08 kB / 451.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.02e-07/0.2921, allocations: 0.6562 kB / 451.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001527/0.2922, allocations: 76.91 kB / 452 MB, free: 4.141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.2922, allocations: 7.688 kB / 452 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.72e-07/0.2922, allocations: 8.469 kB / 452 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-06/0.2922, allocations: 4.469 kB / 452 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.2923, allocations: 13.19 kB / 452 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.2923, allocations: 0.5938 kB / 452 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.2923, allocations: 9.5 kB / 452 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.2924, allocations: 1.094 kB / 452 MB, free: 4.121 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 6.31e-05/0.2924, allocations: 185.8 kB / 452.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.2925, allocations: 17.47 kB / 452.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.2926, allocations: 79.28 kB / 452.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2926, allocations: 0.5312 kB / 452.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2926, allocations: 0.5312 kB / 452.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2926, allocations: 3.25 kB / 452.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.293, allocations: 348.1 kB / 452.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.293, allocations: 0.5938 kB / 452.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.509e-05/0.2931, allocations: 13.3 kB / 452.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.2931, allocations: 1.188 kB / 452.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.2931, allocations: 13.31 kB / 452.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2931, allocations: 5.094 kB / 452.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2931, allocations: 0.5312 kB / 452.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.2933, allocations: 175.3 kB / 452.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.2933, allocations: 98.3 kB / 452.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.2933, allocations: 2.094 kB / 452.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.2934, allocations: 5.531 kB / 452.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.2935, allocations: 12.88 kB / 453 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.2935, allocations: 1.438 kB / 453 MB, free: 3.238 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.2936, allocations: 137.3 kB / 453.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2936, allocations: 1.062 kB / 453.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.2939, allocations: 42.06 kB / 453.1 MB, free: 3.137 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 0.0003375/0.2942, allocations: 0.7091 MB / 453.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.2944, allocations: 67.05 kB / 453.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2944, allocations: 0 / 453.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.094e-05/0.2945, allocations: 12.89 kB / 453.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.2948, allocations: 14.78 kB / 453.9 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.2964, allocations: 1.678 MB / 455.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.2965, allocations: 0.7049 MB / 456.3 MB, free: 340 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.31e-05/0.2966, allocations: 7.094 kB / 456.3 MB, free: 340 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.2966, allocations: 26.42 kB / 456.3 MB, free: 320 kB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2966, allocations: 1.375 kB / 456.3 MB, free: 320 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.3217, allocations: 2.485 MB / 458.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.386, allocations: 6.688 kB / 458.8 MB, free: 15.6 MB / 334.1 MB " [Timeout remaining time 652] (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/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPatientValve_fmu --startTime=0 --stopTime=2 --stepSize=0.004 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPatientValve.fmu > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.675640000961721] Failed to read output from testmodel.py, exit status != 0: 8.452828497625887 8.466789726 8.175158086 Calling exit ...