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.001378/0.001378, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001632/0.001632, allocations: 213.5 kB / 22.24 MB, free: 5.258 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.451/1.451, allocations: 207.7 MB / 233.1 MB, free: 9.789 MB / 190.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.008755/0.008755, allocations: 1.958 MB / 287.3 MB, free: 3.676 MB / 222.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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 73.44 kB / 401.8 MB, free: 50.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0854/0.08757, allocations: 49.7 MB / 451.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002512/0.09008, allocations: 1.882 MB / 453.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007874/0.09087, allocations: 0.5579 MB / 453.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.09093, allocations: 0 / 453.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.291e-05/0.09099, allocations: 19.8 kB / 453.9 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.09111, allocations: 47.61 kB / 454 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.09134, allocations: 43.89 kB / 454 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.09148, allocations: 131.3 kB / 454.1 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.0916, allocations: 21.16 kB / 454.2 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.09167, allocations: 55.78 kB / 454.2 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.988e-05/0.09176, allocations: 51.7 kB / 454.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.09178, allocations: 8 kB / 454.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.99e-05/0.09185, allocations: 20 kB / 454.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.09187, allocations: 19.92 kB / 454.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.09192, allocations: 51.73 kB / 454.4 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.09207, allocations: 107.5 kB / 454.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.09207, allocations: 8 kB / 454.5 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09207, allocations: 0 / 454.5 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.09208, allocations: 0 / 454.5 MB, free: 3.051 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.0004673/0.09254, allocations: 349.7 kB / 454.8 MB, free: 2.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.09258, allocations: 11.98 kB / 454.8 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.09261, allocations: 42.69 kB / 454.9 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.09264, allocations: 12.84 kB / 454.9 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.0928, allocations: 158.1 kB / 455 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.09281, allocations: 8.375 kB / 455.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.09283, allocations: 4.375 kB / 455.1 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.09299, allocations: 93.78 kB / 455.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.09301, allocations: 0 / 455.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.09302, allocations: 7.984 kB / 455.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.09302, allocations: 0 / 455.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.09315, allocations: 55.97 kB / 455.2 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.09363, allocations: 335.6 kB / 455.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.09403, allocations: 66.47 kB / 455.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.09408, allocations: 24.94 kB / 455.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.0941, allocations: 4 kB / 455.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.116e-05/0.09411, allocations: 30.56 kB / 455.7 MB, free: 1.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.09411, allocations: 0 / 455.7 MB, free: 1.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002237/0.09433, allocations: 93.52 kB / 455.8 MB, free: 1.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.09436, allocations: 55.34 kB / 455.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.09448, allocations: 183.6 kB / 456 MB, free: 1.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.09449, allocations: 25.7 kB / 456 MB, free: 1.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.09453, allocations: 112 kB / 456.1 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.059e-05/0.09454, allocations: 23.89 kB / 456.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.09458, allocations: 17.72 kB / 456.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.09465, allocations: 322.8 kB / 456.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-05/0.0947, allocations: 24.84 kB / 456.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/0.09474, allocations: 16 kB / 456.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.24e-05/0.09483, allocations: 48.84 kB / 456.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.09484, allocations: 0 / 456.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001298/0.09497, allocations: 85.75 kB / 456.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.09498, allocations: 7.938 kB / 456.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.09498, allocations: 4 kB / 456.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.095, allocations: 4 kB / 456.7 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.09507, allocations: 15.98 kB / 456.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.09507, allocations: 3.938 kB / 456.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.09513, allocations: 15.89 kB / 456.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.09514, allocations: 0 / 456.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.727e-05/0.09521, allocations: 104.1 kB / 456.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.346e-05/0.09524, allocations: 15.98 kB / 456.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.885e-05/0.09531, allocations: 40.84 kB / 456.9 MB, free: 480 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.41e-07/0.09531, allocations: 4 kB / 456.9 MB, free: 476 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001108/0.09542, allocations: 81.58 kB / 456.9 MB, free: 388 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.32e-06/0.09542, allocations: 4 kB / 456.9 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.32e-07/0.09543, allocations: 0 / 456.9 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-06/0.09543, allocations: 3.938 kB / 456.9 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.012e-05/0.09548, allocations: 19.92 kB / 457 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-06/0.09548, allocations: 0 / 457 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.09553, allocations: 4 kB / 457 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-06/0.09553, allocations: 4 kB / 457 MB, free: 352 kB / 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 4.284e-05/0.09557, allocations: 180.3 kB / 457.1 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.0956, allocations: 15.84 kB / 457.2 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.09575, allocations: 86.62 kB / 457.2 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.09575, allocations: 0 / 457.2 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.09575, allocations: 0 / 457.2 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.09576, allocations: 4 kB / 457.3 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.09616, allocations: 314.4 kB / 457.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.09616, allocations: 0 / 457.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.09621, allocations: 12.17 kB / 457.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.09622, allocations: 4.031 kB / 457.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.09623, allocations: 4 kB / 457.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.09623, allocations: 0 / 457.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.09623, allocations: 4 kB / 457.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.09644, allocations: 176.5 kB / 457.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.09649, allocations: 27.83 kB / 457.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.09651, allocations: 0 / 457.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.09659, allocations: 7.938 kB / 457.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.09662, allocations: 3.984 kB / 457.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.09662, allocations: 4 kB / 457.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.09677, allocations: 140 kB / 457.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09677, allocations: 0 / 457.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.09706, allocations: 39.94 kB / 458 MB, free: 15.25 MB / 334.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.0005511/0.09761, allocations: 0.7093 MB / 458.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.09782, allocations: 59.91 kB / 458.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.09782, allocations: 0 / 458.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.165e-05/0.09788, allocations: 27.92 kB / 458.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.0982, allocations: 15.84 kB / 458.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.1002, allocations: 1.673 MB / 460.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.468e-05/0.1003, allocations: 93.19 kB / 460.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.596e-05/0.1003, allocations: 8.422 kB / 460.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.1004, allocations: 27.44 kB / 460.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1004, allocations: 4 kB / 460.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.1275, allocations: 3.088 MB / 463.7 MB, free: 9.352 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.01, allocations: 7.844 kB / 463.7 MB, free: 9.344 MB / 334.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestPatientValve_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 MEV_MEV_Test_TestPatientValve.fmu > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.645005413796753] Failed to read output from testmodel.py, exit status != 0: 11.11288673011586 11.12939668 11.03419292 Calling exit ...