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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 186 kB / 20.78 MB, free: 1.547 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.443/1.443, allocations: 207.6 MB / 231.4 MB, free: 3.191 MB / 174.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.009322/0.009322, allocations: 1.966 MB / 285.4 MB, free: 13.27 MB / 238.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.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=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") [Timeout 660] "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.002203/0.002203, allocations: 67.89 kB / 399.9 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2803, allocations: 49.67 MB / 449.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.004168/0.2845, allocations: 3.467 MB / 453 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.2862, allocations: 0.9361 MB / 453.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.2864, allocations: 4.125 kB / 453.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.2865, allocations: 61.86 kB / 454 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.2868, allocations: 161.6 kB / 454.1 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.2873, allocations: 157.5 kB / 454.3 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005276/0.2878, allocations: 0.5567 MB / 454.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.288, allocations: 101.3 kB / 455 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.2882, allocations: 204.5 kB / 455.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.2885, allocations: 216.8 kB / 455.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.545e-05/0.2886, allocations: 47.72 kB / 455.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.2887, allocations: 74.92 kB / 455.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.997e-05/0.2888, allocations: 103 kB / 455.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.289, allocations: 229.3 kB / 455.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000617/0.2896, allocations: 0.5139 MB / 456.3 MB, free: 4.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2896, allocations: 0.6094 kB / 456.3 MB, free: 4.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2896, allocations: 0 / 456.3 MB, free: 4.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.2896, allocations: 1.656 kB / 456.3 MB, free: 4.316 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001295/0.2909, allocations: 0.7513 MB / 457.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.291, allocations: 9.531 kB / 457.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.2911, allocations: 48.22 kB / 457.1 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.2914, allocations: 310.8 kB / 457.4 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.2915, allocations: 23.95 kB / 457.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/0.2915, allocations: 33.94 kB / 457.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006901/0.2922, allocations: 322.6 kB / 457.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.2922, allocations: 0 / 457.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.2923, allocations: 12.38 kB / 457.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.2923, allocations: 7.625 kB / 457.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/0.2929, allocations: 258.4 kB / 458.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.295, allocations: 1.134 MB / 459.2 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/0.2958, allocations: 261.4 kB / 459.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.296, allocations: 112.6 kB / 459.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.2961, allocations: 15.16 kB / 459.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/0.2965, allocations: 162.9 kB / 459.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.2965, allocations: 0 / 459.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.002722/0.2992, allocations: 0.6896 MB / 460.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.2992, allocations: 62.72 kB / 460.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.2996, allocations: 357.2 kB / 460.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.2996, allocations: 30.61 kB / 460.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.2998, allocations: 199.2 kB / 461.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.2998, allocations: 94.67 kB / 461.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2999, allocations: 73.17 kB / 461.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.3, allocations: 341.8 kB / 461.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.3003, allocations: 102.8 kB / 461.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.3005, allocations: 155 kB / 461.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.301, allocations: 294.1 kB / 462.1 MB, free: 300 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.301, allocations: 0.75 kB / 462.1 MB, free: 300 kB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007194/0.3017, allocations: 410.7 kB / 462.5 MB, free: 60 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.3018, allocations: 36.48 kB / 462.6 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3018, allocations: 1.062 kB / 462.6 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001767/0.3035, allocations: 233.8 kB / 462.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.3037, allocations: 45.69 kB / 462.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007818/0.3045, allocations: 0.7004 MB / 463.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/0.3049, allocations: 37.2 kB / 463.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.3049, allocations: 8.781 kB / 463.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003845/0.3053, allocations: 215.2 kB / 463.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002794/0.3056, allocations: 152.3 kB / 463.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005103/0.3061, allocations: 272.4 kB / 464.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.3061, allocations: 0 / 464.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001046/0.3071, allocations: 440.3 kB / 464.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.3072, allocations: 36.67 kB / 464.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3072, allocations: 8.984 kB / 464.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004224/0.3076, allocations: 97.89 kB / 464.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.3078, allocations: 51.61 kB / 464.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.3105, allocations: 2.101 MB / 466.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.3109, allocations: 34.61 kB / 467 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.3109, allocations: 8.281 kB / 467 MB, free: 12.48 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.0001767/0.3111, allocations: 199 kB / 467.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.3111, allocations: 40.19 kB / 467.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.3123, allocations: 396.8 kB / 467.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3123, allocations: 3.406 kB / 467.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.3123, allocations: 0 / 467.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3123, allocations: 0 / 467.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.3128, allocations: 393.3 kB / 468 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.3128, allocations: 1.938 kB / 468 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.3129, allocations: 27.95 kB / 468 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.314, allocations: 192.2 kB / 468.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.314, allocations: 10.16 kB / 468.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000673/0.3147, allocations: 0.6947 MB / 468.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3147, allocations: 0 / 468.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.316, allocations: 0.5215 MB / 469.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.3161, allocations: 153 kB / 469.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.3162, allocations: 5.375 kB / 469.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3164, allocations: 18.61 kB / 469.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.3165, allocations: 26.52 kB / 469.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.3165, allocations: 5.844 kB / 469.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003072/0.3168, allocations: 250.7 kB / 469.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3168, allocations: 0 / 469.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006236/0.3175, allocations: 176.6 kB / 470 MB, free: 10.25 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.0001964/0.3176, allocations: 107.4 kB / 470.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.3192, allocations: 0.6719 MB / 470.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3192, allocations: 1.938 kB / 470.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.3196, allocations: 131.4 kB / 470.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.32, allocations: 44.73 kB / 471 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.3215, allocations: 0.8364 MB / 471.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.322, allocations: 0.7895 MB / 472.6 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.3222, allocations: 33.33 kB / 472.6 MB, free: 8.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.3222, allocations: 25.06 kB / 472.7 MB, free: 8.262 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3222, allocations: 0 / 472.7 MB, free: 8.262 MB / 334.1 MB Notification: Performance of Templates: time 0.01109/0.3333, allocations: 5.625 MB / 478.3 MB, free: 2.871 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestStandardPatient.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6534605622291565]