Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestStandardPatient.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.001366/0.001366, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001462/0.001462, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.352/1.352, allocations: 207.7 MB / 233.1 MB, free: 9.793 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.008847/0.008847, allocations: 1.966 MB / 287.3 MB, free: 3.684 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.TestStandardPatient,fileNamePrefix="MEV_MEV_Test_TestStandardPatient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestStandardPatient,fileNamePrefix="MEV_MEV_Test_TestStandardPatient",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.002124/0.002124, allocations: 73.53 kB / 401.8 MB, free: 50.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07712/0.07924, allocations: 49.69 MB / 451.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.00314/0.08238, allocations: 3.148 MB / 454.6 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.08349, allocations: 0.8967 MB / 455.5 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.08362, allocations: 7.938 kB / 455.5 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.799e-05/0.08372, allocations: 63.41 kB / 455.6 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.08396, allocations: 162.6 kB / 455.7 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.0843, allocations: 151.7 kB / 455.9 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.08466, allocations: 0.5561 MB / 456.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.08483, allocations: 89.02 kB / 456.5 MB, free: 1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.085, allocations: 211.2 kB / 456.7 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.08519, allocations: 199 kB / 456.9 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.08524, allocations: 52 kB / 457 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.08536, allocations: 71.97 kB / 457 MB, free: 488 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.08542, allocations: 95.69 kB / 457.1 MB, free: 392 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.08554, allocations: 191.1 kB / 457.3 MB, free: 200 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.08604, allocations: 0.5176 MB / 457.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.08605, allocations: 0 / 457.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.08605, allocations: 0 / 457.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.08605, allocations: 0 / 457.8 MB, free: 15.67 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00134/0.08739, allocations: 0.6683 MB / 458.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.08744, allocations: 11.98 kB / 458.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.183e-05/0.08753, allocations: 70.72 kB / 458.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.354e-05/0.08761, allocations: 44.66 kB / 458.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.088, allocations: 261.2 kB / 458.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.08804, allocations: 29.03 kB / 458.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.14e-05/0.08811, allocations: 32.36 kB / 459 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007162/0.08883, allocations: 326.1 kB / 459.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.08884, allocations: 0 / 459.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.08889, allocations: 19.98 kB / 459.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.0889, allocations: 8 kB / 459.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006121/0.08951, allocations: 254.5 kB / 459.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.09156, allocations: 0.9984 MB / 460.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/0.0923, allocations: 254.9 kB / 460.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.09257, allocations: 116.7 kB / 460.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.0926, allocations: 11.94 kB / 460.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004481/0.09305, allocations: 171.3 kB / 461.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.09305, allocations: 0 / 461.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002716/0.09576, allocations: 0.6195 MB / 461.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.09582, allocations: 59.39 kB / 461.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.09625, allocations: 357.5 kB / 462.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.09628, allocations: 29.7 kB / 462.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.09646, allocations: 204.6 kB / 462.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.09654, allocations: 83.28 kB / 462.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.09665, allocations: 69.64 kB / 462.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.09684, allocations: 338.8 kB / 462.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.09712, allocations: 134.5 kB / 463 MB, free: 10.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.09744, allocations: 183.4 kB / 463.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.098, allocations: 291.5 kB / 463.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.098, allocations: 0 / 463.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008705/0.09887, allocations: 445.5 kB / 463.9 MB, free: 9.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/0.09892, allocations: 37.89 kB / 463.9 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.09892, allocations: 3.938 kB / 463.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/0.1006, allocations: 240.6 kB / 464.1 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.1007, allocations: 35.98 kB / 464.2 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000761/0.1015, allocations: 0.6967 MB / 464.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.1018, allocations: 43.66 kB / 464.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.1018, allocations: 16 kB / 464.9 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003798/0.1022, allocations: 233.8 kB / 465.1 MB, free: 8.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003004/0.1025, allocations: 191.4 kB / 465.3 MB, free: 7.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004983/0.103, allocations: 271.8 kB / 465.6 MB, free: 7.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.103, allocations: 0 / 465.6 MB, free: 7.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001038/0.104, allocations: 465.5 kB / 466.1 MB, free: 7.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.1041, allocations: 33.64 kB / 466.1 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1041, allocations: 4 kB / 466.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003961/0.1045, allocations: 104.7 kB / 466.2 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.1047, allocations: 47.91 kB / 466.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.1072, allocations: 1.977 MB / 468.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.1074, allocations: 31.88 kB / 468.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.1075, allocations: 12 kB / 468.3 MB, free: 4.711 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.1076, allocations: 192.2 kB / 468.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.1077, allocations: 39.7 kB / 468.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.1088, allocations: 398.6 kB / 468.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1088, allocations: 4 kB / 468.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1088, allocations: 3.984 kB / 468.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1088, allocations: 0 / 468.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.1092, allocations: 320.5 kB / 469.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1092, allocations: 0 / 469.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.1093, allocations: 35.97 kB / 469.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.1104, allocations: 176.7 kB / 469.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.1104, allocations: 11.92 kB / 469.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007006/0.1111, allocations: 0.7084 MB / 470.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1111, allocations: 0 / 470.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.1123, allocations: 0.5094 MB / 470.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.1125, allocations: 75.64 kB / 470.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.1125, allocations: 8 kB / 470.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.1128, allocations: 15.98 kB / 470.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.1128, allocations: 23.95 kB / 470.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1128, allocations: 4 kB / 470.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002932/0.1131, allocations: 259.1 kB / 471 MB, free: 1.852 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1131, allocations: 0 / 471 MB, free: 1.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000545/0.1137, allocations: 171.8 kB / 471.2 MB, free: 1.684 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (standardPatient.compliance.p,standardPatient.compliance.V,standardPatient.compliance.Vb) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0017/0.1154, allocations: 1.07 MB / 472.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.1169, allocations: 0.7126 MB / 473 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1169, allocations: 4.125 kB / 473 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.1173, allocations: 128.4 kB / 473.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1176, allocations: 45.47 kB / 473.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.123, allocations: 3.666 MB / 476.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.1232, allocations: 186.8 kB / 477 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.1234, allocations: 30.97 kB / 477 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.1235, allocations: 107.4 kB / 477.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1235, allocations: 0 / 477.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04057/0.1641, allocations: 9.107 MB / 486.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.29, allocations: 11.78 kB / 486.2 MB, free: 2.301 MB / 350.1 MB " [Timeout remaining time 648] (rm -f MEV_MEV.Test.TestStandardPatient.pipe ; mkfifo MEV_MEV.Test.TestStandardPatient.pipe ; head -c 1048576 < MEV_MEV.Test.TestStandardPatient.pipe >> ../files/MEV_MEV.Test.TestStandardPatient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestStandardPatient_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestStandardPatient.fmu > MEV_MEV.Test.TestStandardPatient.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.746352029964328] Failed to read output from testmodel.py, exit status != 0: 12.40879198582843 12.425468564 12.336449973 Calling exit ...