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.001594/0.001594, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 196.2 kB / 16.79 MB, free: 6.809 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.481/1.481, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.0089/0.008901, allocations: 1.928 MB / 271.9 MB, free: 3.535 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.00141/0.001411, allocations: 64.12 kB / 329.8 MB, free: 33.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06875/0.07017, allocations: 47.14 MB / 376.9 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.004919/0.07513, allocations: 4.3 MB / 381.2 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.07722, allocations: 1.057 MB / 382.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002499/0.0775, allocations: 8 kB / 382.3 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.07763, allocations: 39.66 kB / 382.3 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.07803, allocations: 134.9 kB / 382.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.07842, allocations: 135.8 kB / 382.6 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004888/0.07893, allocations: 0.5249 MB / 383.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.07917, allocations: 124.2 kB / 383.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.07939, allocations: 167.3 kB / 383.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.07963, allocations: 207 kB / 383.6 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.07969, allocations: 24 kB / 383.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.07983, allocations: 47.98 kB / 383.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.0799, allocations: 67.69 kB / 383.8 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.08012, allocations: 222.8 kB / 384 MB, free: 11.01 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.08049, allocations: 383.2 kB / 384.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.08051, allocations: 0 / 384.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.08051, allocations: 0 / 384.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.08053, allocations: 0 / 384.3 MB, free: 10.64 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.001316/0.08185, allocations: 0.7401 MB / 385.1 MB, free: 9.844 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.08191, allocations: 8.031 kB / 385.1 MB, free: 9.836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.783e-05/0.08201, allocations: 48.38 kB / 385.1 MB, free: 9.789 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.08237, allocations: 303.4 kB / 385.4 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.0824, allocations: 29.03 kB / 385.5 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.08247, allocations: 32.38 kB / 385.5 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000631/0.08312, allocations: 318.3 kB / 385.8 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.08314, allocations: 0 / 385.8 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.08319, allocations: 16 kB / 385.8 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.08321, allocations: 8 kB / 385.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005773/0.08379, allocations: 258.4 kB / 386.1 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.08571, allocations: 1.15 MB / 387.2 MB, free: 7.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007359/0.08647, allocations: 274.8 kB / 387.5 MB, free: 7.312 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.08676, allocations: 116.8 kB / 387.6 MB, free: 7.195 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.0868, allocations: 4 kB / 387.6 MB, free: 7.191 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/0.08717, allocations: 164.3 kB / 387.8 MB, free: 7.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/0.08719, allocations: 3.938 kB / 387.8 MB, free: 7.016 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002967/0.09016, allocations: 0.706 MB / 388.5 MB, free: 6.281 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.09022, allocations: 51.41 kB / 388.5 MB, free: 6.219 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.09064, allocations: 353.6 kB / 388.9 MB, free: 5.863 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.0907, allocations: 33.7 kB / 388.9 MB, free: 5.824 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.09085, allocations: 200.2 kB / 389.1 MB, free: 5.625 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.102e-05/0.09093, allocations: 82.81 kB / 389.2 MB, free: 5.543 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.09105, allocations: 69.59 kB / 389.3 MB, free: 5.469 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.09118, allocations: 342.8 kB / 389.6 MB, free: 5.125 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.09145, allocations: 108.8 kB / 389.7 MB, free: 5.016 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.09175, allocations: 157.5 kB / 389.9 MB, free: 4.84 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.09228, allocations: 287.5 kB / 390.1 MB, free: 4.531 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.09229, allocations: 3.938 kB / 390.1 MB, free: 4.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008385/0.09314, allocations: 423.6 kB / 390.6 MB, free: 4.098 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.09318, allocations: 29.7 kB / 390.6 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.0932, allocations: 4 kB / 390.6 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001882/0.09509, allocations: 236.8 kB / 390.8 MB, free: 3.824 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.09533, allocations: 47.91 kB / 390.9 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006966/0.09604, allocations: 0.685 MB / 391.6 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.09638, allocations: 43.61 kB / 391.6 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.09642, allocations: 12.06 kB / 391.6 MB, free: 3.012 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003653/0.0968, allocations: 216.1 kB / 391.8 MB, free: 2.797 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002586/0.09707, allocations: 145.9 kB / 392 MB, free: 2.633 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005042/0.09758, allocations: 279.8 kB / 392.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.09759, allocations: 0 / 392.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.00106/0.09866, allocations: 435.4 kB / 392.7 MB, free: 1.891 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.0987, allocations: 33.7 kB / 392.7 MB, free: 1.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.09871, allocations: 7.938 kB / 392.7 MB, free: 1.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004348/0.09916, allocations: 104.9 kB / 392.8 MB, free: 1.738 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.09939, allocations: 43.98 kB / 392.8 MB, free: 1.695 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.1018, allocations: 1.909 MB / 394.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.1021, allocations: 31.77 kB / 394.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.1021, allocations: 12 kB / 394.8 MB, free: 15.61 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.0001549/0.1023, allocations: 200.1 kB / 395 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.1024, allocations: 35.53 kB / 395 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.1035, allocations: 392.8 kB / 395.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1035, allocations: 4 kB / 395.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.1035, allocations: 0 / 395.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1035, allocations: 11.92 kB / 395.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.104, allocations: 397 kB / 395.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.104, allocations: 3.984 kB / 395.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.1042, allocations: 23.98 kB / 395.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.1054, allocations: 200.7 kB / 396 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.1055, allocations: 12 kB / 396 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006466/0.1061, allocations: 0.6967 MB / 396.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1061, allocations: 0 / 396.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.1074, allocations: 0.5129 MB / 397.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.1076, allocations: 152.6 kB / 397.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.1077, allocations: 15.92 kB / 397.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.1079, allocations: 11.98 kB / 397.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.108, allocations: 23.97 kB / 397.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.108, allocations: 12 kB / 397.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002859/0.1083, allocations: 251.2 kB / 397.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1083, allocations: 0 / 397.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000593/0.1089, allocations: 171.7 kB / 397.9 MB, free: 12.39 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.000173/0.1091, allocations: 119.2 kB / 398 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.1107, allocations: 0.6809 MB / 398.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1107, allocations: 0 / 398.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.1111, allocations: 140.4 kB / 398.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1115, allocations: 49.36 kB / 398.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.113, allocations: 1.008 MB / 399.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1134, allocations: 0.7879 MB / 400.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.1135, allocations: 23.44 kB / 400.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1135, allocations: 0 / 400.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of Templates: time 0.007599/0.1211, allocations: 5.431 MB / 406.1 MB, free: 4.055 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestStandardPatient.makefile (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)