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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) 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: translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008903/0.0008903, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006535/0.006535, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009344/0.009344, allocations: 1.924 MB / 272.7 MB, free: 3.277 MB / 222.1 MB 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.0005458/0.0005459, allocations: 15.98 kB / 331.5 MB, free: 33.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09533, allocations: 48.1 MB / 379.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.004045/0.09943, allocations: 3.899 MB / 383.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1012, allocations: 1.049 MB / 384.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1014, allocations: 8 kB / 384.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.678e-05/0.1015, allocations: 47.59 kB / 384.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.1018, allocations: 134.9 kB / 384.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.1022, allocations: 131.9 kB / 384.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.1027, allocations: 0.5249 MB / 385.4 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.1029, allocations: 120.1 kB / 385.5 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.1031, allocations: 163.3 kB / 385.7 MB, free: 10.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.1034, allocations: 191 kB / 385.8 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.1034, allocations: 20 kB / 385.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.1036, allocations: 39.97 kB / 385.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.1037, allocations: 67.69 kB / 386 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.104, allocations: 236.6 kB / 386.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.1044, allocations: 474.3 kB / 386.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1044, allocations: 4 kB / 386.7 MB, free: 9.723 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1044, allocations: 3.938 kB / 386.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1044, allocations: 0 / 386.7 MB, free: 9.719 MB / 286.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.001309/0.1058, allocations: 0.6699 MB / 387.3 MB, free: 8.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1058, allocations: 8.031 kB / 387.3 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.431e-05/0.1059, allocations: 44.47 kB / 387.4 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.1063, allocations: 311.4 kB / 387.7 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.1063, allocations: 21.03 kB / 387.7 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.1064, allocations: 36.38 kB / 387.7 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.107, allocations: 330.3 kB / 388.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.107, allocations: 0 / 388.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.1071, allocations: 8 kB / 388.1 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1071, allocations: 8 kB / 388.1 MB, free: 8.199 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006602/0.1077, allocations: 278.4 kB / 388.4 MB, free: 7.926 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.1097, allocations: 1.138 MB / 389.5 MB, free: 6.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007185/0.1104, allocations: 290.8 kB / 389.8 MB, free: 6.438 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.1107, allocations: 131.2 kB / 389.9 MB, free: 6.309 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.1107, allocations: 11.97 kB / 389.9 MB, free: 6.297 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004878/0.1112, allocations: 164.2 kB / 390.1 MB, free: 6.125 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.1112, allocations: 0 / 390.1 MB, free: 6.125 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002854/0.1141, allocations: 0.7296 MB / 390.8 MB, free: 5.367 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1141, allocations: 59.34 kB / 390.9 MB, free: 5.297 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.1145, allocations: 365.5 kB / 391.2 MB, free: 4.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.1145, allocations: 29.7 kB / 391.3 MB, free: 4.895 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.1148, allocations: 196.2 kB / 391.4 MB, free: 4.699 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.167e-05/0.1148, allocations: 86.8 kB / 391.5 MB, free: 4.613 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.1149, allocations: 33.7 kB / 391.6 MB, free: 4.574 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.115, allocations: 346.7 kB / 391.9 MB, free: 4.227 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.1153, allocations: 104 kB / 392 MB, free: 4.125 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.1156, allocations: 165.4 kB / 392.2 MB, free: 3.941 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.1162, allocations: 303.5 kB / 392.5 MB, free: 3.617 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1162, allocations: 4 kB / 392.5 MB, free: 3.613 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007587/0.1169, allocations: 423.8 kB / 392.9 MB, free: 3.184 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.694e-05/0.117, allocations: 159.8 kB / 393 MB, free: 2.996 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1171, allocations: 4 kB / 393 MB, free: 2.992 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/0.1188, allocations: 232.6 kB / 393.3 MB, free: 2.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.119, allocations: 55.91 kB / 393.3 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007177/0.1197, allocations: 0.685 MB / 394 MB, free: 1.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.12, allocations: 47.58 kB / 394.1 MB, free: 1.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.12, allocations: 8 kB / 394.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.1201, allocations: 4 kB / 394.1 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009591/0.121, allocations: 418.6 kB / 394.5 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.121, allocations: 3.938 kB / 394.5 MB, free: 1.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.1214, allocations: 96.77 kB / 394.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.1217, allocations: 59.86 kB / 394.6 MB, free: 1.359 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.124, allocations: 1.901 MB / 396.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.1243, allocations: 43.64 kB / 396.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1243, allocations: 16 kB / 396.6 MB, free: 15.27 MB / 302.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.0002182/0.1245, allocations: 233.1 kB / 396.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.1246, allocations: 35.62 kB / 396.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.1257, allocations: 408.7 kB / 397.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1257, allocations: 4 kB / 397.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1257, allocations: 3.938 kB / 397.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1257, allocations: 3.984 kB / 397.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.1262, allocations: 401 kB / 397.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1262, allocations: 0 / 397.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.1264, allocations: 31.98 kB / 397.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.1275, allocations: 204.7 kB / 397.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.1276, allocations: 7.984 kB / 397.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006216/0.1282, allocations: 0.7005 MB / 398.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1282, allocations: 0 / 398.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.1295, allocations: 0.5208 MB / 399.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.1297, allocations: 152.6 kB / 399.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.1298, allocations: 8 kB / 399.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.13, allocations: 19.92 kB / 399.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.1301, allocations: 24.06 kB / 399.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.1301, allocations: 8 kB / 399.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002734/0.1304, allocations: 255.1 kB / 399.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1304, allocations: 0 / 399.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005431/0.1309, allocations: 179.7 kB / 399.7 MB, free: 11.97 MB / 302.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.0001536/0.1311, allocations: 111.2 kB / 399.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.1325, allocations: 0.6846 MB / 400.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1325, allocations: 0.75 kB / 400.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.1329, allocations: 147.9 kB / 400.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1333, allocations: 49.41 kB / 400.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1348, allocations: 1.056 MB / 401.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.1353, allocations: 0.7918 MB / 402.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.1354, allocations: 34.89 kB / 402.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.1355, allocations: 23.44 kB / 402.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1355, allocations: 0 / 402.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of Templates: time 0.008962/0.1444, allocations: 4.929 MB / 407.6 MB, free: 4.059 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestStandardPatient.makefile Environment - environmentSimulation: (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 & ./MEV_MEV.Test.TestStandardPatient -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1) Environment - environmentSimulation: