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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009222/0.0009222, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009748/0.0009748, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.7803/0.7803, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.005609/0.005609, allocations: 1.427 MB / 237.9 MB, free: 13.92 MB / 234.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 352.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.997e-06/1.006e-05, allocations: 6.219 kB / 352.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.001526/0.001536, allocations: 1.901 MB / 354.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005353/0.002071, allocations: 0.5463 MB / 354.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.002119, allocations: 0 / 354.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.493e-05/0.002164, allocations: 15.84 kB / 354.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.66e-05/0.00226, allocations: 55.56 kB / 355 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.002439, allocations: 35.83 kB / 355 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.002559, allocations: 147.1 kB / 355.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.00266, allocations: 21.28 kB / 355.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.465e-05/0.002735, allocations: 75.81 kB / 355.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.002797, allocations: 35.89 kB / 355.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.002814, allocations: 12 kB / 355.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.519e-05/0.002859, allocations: 12 kB / 355.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.002876, allocations: 19.92 kB / 355.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.002903, allocations: 47.84 kB / 355.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.00302, allocations: 111.6 kB / 355.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003022, allocations: 0 / 355.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003023, allocations: 0 / 355.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003027, allocations: 0 / 355.5 MB, free: 12.85 MB / 282.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.0003498/0.003376, allocations: 349.7 kB / 355.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.003411, allocations: 15.98 kB / 355.8 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.373e-05/0.003434, allocations: 38.69 kB / 355.9 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.003459, allocations: 16.84 kB / 355.9 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.003577, allocations: 149.6 kB / 356 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.003587, allocations: 4.375 kB / 356 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.003596, allocations: 8.375 kB / 356 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.003725, allocations: 89.19 kB / 356.1 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.003732, allocations: 192 / 356.1 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.003742, allocations: 8.125 kB / 356.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.003747, allocations: 7.984 kB / 356.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.003827, allocations: 55.84 kB / 356.2 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.004169, allocations: 339.6 kB / 356.5 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.004425, allocations: 70.53 kB / 356.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.004454, allocations: 20.94 kB / 356.6 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.004469, allocations: 0 / 356.6 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.298e-06/0.004478, allocations: 30.56 kB / 356.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.004479, allocations: 0 / 356.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001735/0.004652, allocations: 93.52 kB / 356.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.004672, allocations: 63.28 kB / 356.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.004756, allocations: 179.6 kB / 357 MB, free: 11.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.004762, allocations: 25.7 kB / 357 MB, free: 11.15 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.004801, allocations: 116 kB / 357.1 MB, free: 11.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.348e-06/0.004811, allocations: 11.94 kB / 357.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.004839, allocations: 25.66 kB / 357.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.967e-05/0.004869, allocations: 322.8 kB / 357.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-05/0.004902, allocations: 20.86 kB / 357.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.004929, allocations: 23.98 kB / 357.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.808e-05/0.004987, allocations: 44.97 kB / 357.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004988, allocations: 0 / 357.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.181e-05/0.00507, allocations: 93.56 kB / 357.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.005081, allocations: 4 kB / 357.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.005085, allocations: 4 kB / 357.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.005096, allocations: 0 / 357.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.973e-05/0.005136, allocations: 15.92 kB / 357.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.00514, allocations: 0 / 357.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.005171, allocations: 11.89 kB / 357.7 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.005177, allocations: 4 kB / 357.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.249e-05/0.005219, allocations: 104.1 kB / 357.8 MB, free: 10.33 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.069e-05/0.00524, allocations: 23.98 kB / 357.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.063e-05/0.005281, allocations: 44.78 kB / 357.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.6e-07/0.005281, allocations: 0 / 357.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 6.263e-05/0.005344, allocations: 73.64 kB / 357.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-06/0.005347, allocations: 4 kB / 357.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-07/0.005348, allocations: 3.938 kB / 357.9 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.92e-07/0.005349, allocations: 4 kB / 357.9 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.252e-05/0.005371, allocations: 11.98 kB / 358 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.82e-07/0.005372, allocations: 3.938 kB / 358 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.005394, allocations: 8.25 kB / 358 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-06/0.005396, allocations: 0 / 358 MB, free: 10.14 MB / 282.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 () * 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 3.361e-05/0.005429, allocations: 180.3 kB / 358.1 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.005447, allocations: 19.91 kB / 358.2 MB, free: 9.941 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.73e-05/0.005544, allocations: 78.62 kB / 358.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.005545, allocations: 4 kB / 358.2 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.00555, allocations: 3.938 kB / 358.2 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.005553, allocations: 0 / 358.2 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.005736, allocations: 314.5 kB / 358.6 MB, free: 9.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.005737, allocations: 0 / 358.6 MB, free: 9.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.005758, allocations: 11.98 kB / 358.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.005759, allocations: 3.938 kB / 358.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.005765, allocations: 4 kB / 358.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.005766, allocations: 3.938 kB / 358.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005767, allocations: 0 / 358.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.131e-05/0.005838, allocations: 180.5 kB / 358.8 MB, free: 9.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.005864, allocations: 27.8 kB / 358.8 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.005878, allocations: 0 / 358.8 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.15e-05/0.005919, allocations: 12.03 kB / 358.8 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.005942, allocations: 3.984 kB / 358.8 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.005945, allocations: 4 kB / 358.8 MB, free: 9.227 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.287e-05/0.005997, allocations: 136 kB / 358.9 MB, free: 9.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005997, allocations: 0 / 358.9 MB, free: 9.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001936/0.006191, allocations: 36 kB / 359 MB, free: 9.059 MB / 282.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 () * 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.0001799/0.006371, allocations: 0.7131 MB / 359.7 MB, free: 8.316 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.006489, allocations: 59.97 kB / 359.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.006491, allocations: 0 / 359.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-05/0.006514, allocations: 19.92 kB / 359.8 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.006714, allocations: 12 kB / 359.8 MB, free: 8.227 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008778/0.007592, allocations: 1.671 MB / 361.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.904e-05/0.007631, allocations: 89.31 kB / 361.5 MB, free: 6.359 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.888e-05/0.00766, allocations: 8.484 kB / 361.5 MB, free: 6.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.007698, allocations: 32.48 kB / 361.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007699, allocations: 0 / 361.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.0212, allocations: 3.231 MB / 364.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/6.956, allocations: 4.156 kB / 364.8 MB, free: 3.051 MB / 282.7 MB " [Timeout remaining time 653] (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: 8.485357202589512] Failed to read output from testmodel.py, exit status != 0: 7.035590935498476 7.045475946 7.04029695 Calling exit ...