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.00134/0.00134, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001605/0.001605, allocations: 214.6 kB / 22.25 MB, free: 5.125 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.374/1.374, allocations: 207.6 MB / 233 MB, free: 9.984 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.009422/0.009422, allocations: 1.958 MB / 287.2 MB, free: 3.953 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.002086/0.002086, allocations: 73.7 kB / 401.8 MB, free: 50.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07056/0.07265, allocations: 49.71 MB / 451.5 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003508/0.07616, allocations: 3.467 MB / 454.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.0777, allocations: 0.9433 MB / 455.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003574/0.07806, allocations: 4 kB / 455.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.07823, allocations: 59.41 kB / 455.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.07862, allocations: 158.7 kB / 456.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.07903, allocations: 155.7 kB / 456.3 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.07945, allocations: 0.56 MB / 456.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.07963, allocations: 101 kB / 456.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.07981, allocations: 211.2 kB / 457.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.08002, allocations: 215 kB / 457.3 MB, free: 388 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.08007, allocations: 48 kB / 457.4 MB, free: 340 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.08018, allocations: 67.98 kB / 457.4 MB, free: 272 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.08023, allocations: 99.67 kB / 457.5 MB, free: 172 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.08042, allocations: 239 kB / 457.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.08105, allocations: 0.5136 MB / 458.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.08105, allocations: 0 / 458.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08105, allocations: 0 / 458.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.08107, allocations: 0 / 458.3 MB, free: 15.41 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.001342/0.08241, allocations: 0.6761 MB / 459 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.08245, allocations: 15.98 kB / 459 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.077e-05/0.08253, allocations: 70.66 kB / 459 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.509e-05/0.08262, allocations: 48.66 kB / 459.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.08299, allocations: 257.2 kB / 459.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.08302, allocations: 25.03 kB / 459.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.08309, allocations: 32.38 kB / 459.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.0837, allocations: 322.1 kB / 459.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.08371, allocations: 0 / 459.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.08374, allocations: 16 kB / 459.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.08375, allocations: 8 kB / 459.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005654/0.08432, allocations: 258.5 kB / 460 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.08628, allocations: 1.092 MB / 461.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.08699, allocations: 258.8 kB / 461.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.08724, allocations: 120.7 kB / 461.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.08728, allocations: 4 kB / 461.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.08768, allocations: 167.3 kB / 461.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.08768, allocations: 3.938 kB / 461.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.00273/0.09041, allocations: 0.6201 MB / 462.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.09045, allocations: 55.41 kB / 462.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.09086, allocations: 353.6 kB / 462.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.0909, allocations: 33.7 kB / 462.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.09105, allocations: 200.5 kB / 462.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.685e-05/0.09114, allocations: 91.22 kB / 463 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.09125, allocations: 73.64 kB / 463 MB, free: 10.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.09144, allocations: 342.8 kB / 463.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.09169, allocations: 104.8 kB / 463.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.09198, allocations: 157.6 kB / 463.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000524/0.0925, allocations: 287.6 kB / 463.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.09251, allocations: 0 / 463.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008161/0.09332, allocations: 407.8 kB / 464.3 MB, free: 9.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.09337, allocations: 41.62 kB / 464.3 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.09337, allocations: 0 / 464.3 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.09511, allocations: 236.8 kB / 464.6 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.0953, allocations: 43.97 kB / 464.6 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000738/0.09604, allocations: 0.6967 MB / 465.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.09634, allocations: 35.77 kB / 465.4 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.09637, allocations: 16 kB / 465.4 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003572/0.09673, allocations: 204.1 kB / 465.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002654/0.09699, allocations: 153.7 kB / 465.7 MB, free: 7.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004866/0.09748, allocations: 275.8 kB / 466 MB, free: 7.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.09748, allocations: 4 kB / 466 MB, free: 7.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001016/0.0985, allocations: 439.7 kB / 466.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.09853, allocations: 37.64 kB / 466.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.09854, allocations: 0 / 466.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.09893, allocations: 100.7 kB / 466.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.09913, allocations: 47.91 kB / 466.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.1016, allocations: 2 MB / 468.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.1019, allocations: 39.78 kB / 468.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.1019, allocations: 12 kB / 468.7 MB, free: 4.539 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.0001588/0.1021, allocations: 204.3 kB / 468.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.1021, allocations: 39.7 kB / 468.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.1032, allocations: 390.5 kB / 469.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1032, allocations: 4 kB / 469.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1032, allocations: 0 / 469.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1032, allocations: 0 / 469.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.1036, allocations: 368.3 kB / 469.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1036, allocations: 0 / 469.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.1038, allocations: 28.16 kB / 469.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.1049, allocations: 184.7 kB / 469.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.1049, allocations: 19.86 kB / 469.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006784/0.1056, allocations: 0.6929 MB / 470.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1056, allocations: 0 / 470.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.1068, allocations: 0.5094 MB / 471.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.107, allocations: 71.7 kB / 471.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.1071, allocations: 12 kB / 471.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.1073, allocations: 11.98 kB / 471.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.1073, allocations: 23.95 kB / 471.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.1074, allocations: 15.98 kB / 471.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002825/0.1076, allocations: 251.1 kB / 471.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1076, allocations: 0 / 471.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005804/0.1082, allocations: 175.7 kB / 471.6 MB, free: 1.473 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.001668/0.1099, allocations: 1.05 MB / 472.7 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.1114, allocations: 0.6653 MB / 473.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1114, allocations: 3.938 kB / 473.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.1118, allocations: 133.1 kB / 473.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.1122, allocations: 45.47 kB / 473.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/0.1176, allocations: 3.561 MB / 477.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.118, allocations: 0.7915 MB / 477.9 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.1182, allocations: 30.97 kB / 477.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.1183, allocations: 99.41 kB / 478 MB, free: 10.87 MB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1183, allocations: 0 / 478 MB, free: 10.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0418/0.1601, allocations: 9.31 MB / 487.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.14, allocations: 7.922 kB / 487.3 MB, free: 1.496 MB / 350.1 MB " [Timeout remaining time 647] (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: 15.635666547110304] Failed to read output from testmodel.py, exit status != 0: 13.264341171830893 13.293128212 13.207052054 Calling exit ...