Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.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.001129/0.001129, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001818/0.002946, allocations: 435.8 kB / 10.31 MB, free: 384 kB / 10.45 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.001272/0.001272, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001737/0.003009, allocations: 463.6 kB / 11.65 MB, free: 2.516 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.013/1.013, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09367/1.107, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.79/0.79, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03066/0.8206, allocations: 21.04 MB / 0.5431 GB, free: 31.96 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Pharmacolibrary.Examples.Propofol.Eleveld,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld") translateModel(Pharmacolibrary.Examples.Propofol.Eleveld,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.588e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Eleveld): time 0.002459/0.002475, allocations: 2.751 MB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005308/0.003006, allocations: 307.2 kB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.003102, allocations: 7.938 kB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.45e-05/0.003187, allocations: 39.58 kB / 0.5474 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.003412, allocations: 130.9 kB / 0.5475 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.003523, allocations: 75.77 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.003809, allocations: 394 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.003927, allocations: 58.86 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.00417, allocations: 286.4 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.00437, allocations: 139.6 kB / 0.5485 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.004414, allocations: 24 kB / 0.5485 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.085e-05/0.004455, allocations: 24 kB / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.004496, allocations: 51.73 kB / 0.5486 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.004598, allocations: 95.8 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.004811, allocations: 211.2 kB / 0.5488 GB, free: 26.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.367e-05/0.004825, allocations: 4 kB / 0.5488 GB, free: 26.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.004825, allocations: 0 / 0.5488 GB, free: 26.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.004836, allocations: 0 / 0.5488 GB, free: 26.08 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007684/0.005604, allocations: 0.6707 MB / 0.5495 GB, free: 25.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.005632, allocations: 11.89 kB / 0.5495 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.005694, allocations: 44.91 kB / 0.5496 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.005894, allocations: 209.4 kB / 0.5498 GB, free: 25.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.005916, allocations: 20.88 kB / 0.5498 GB, free: 25.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.005949, allocations: 20.38 kB / 0.5498 GB, free: 25.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.00615, allocations: 241.7 kB / 0.55 GB, free: 24.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.006165, allocations: 8.078 kB / 0.55 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.006181, allocations: 12.38 kB / 0.55 GB, free: 24.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.006187, allocations: 4.375 kB / 0.5501 GB, free: 24.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.006328, allocations: 194.4 kB / 0.5502 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.00683, allocations: 366.1 kB / 0.5506 GB, free: 24.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.00706, allocations: 209.3 kB / 0.5508 GB, free: 23.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.064e-05/0.00713, allocations: 134.2 kB / 0.5509 GB, free: 23.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.007143, allocations: 4 kB / 0.5509 GB, free: 23.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.00734, allocations: 420.9 kB / 0.5513 GB, free: 23.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.573e-06/0.007342, allocations: 0 / 0.5513 GB, free: 23.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009505/0.008293, allocations: 1.085 MB / 0.5524 GB, free: 22.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.008346, allocations: 306.7 kB / 0.5527 GB, free: 21.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.008482, allocations: 237 kB / 0.5529 GB, free: 21.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.008502, allocations: 33.7 kB / 0.5529 GB, free: 21.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.008533, allocations: 129.4 kB / 0.5531 GB, free: 21.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.471e-05/0.008608, allocations: 150.8 kB / 0.5532 GB, free: 21.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.008683, allocations: 74.17 kB / 0.5533 GB, free: 21.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.008731, allocations: 358.7 kB / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.008818, allocations: 151.9 kB / 0.5538 GB, free: 20.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.008924, allocations: 228.3 kB / 0.554 GB, free: 20.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.009184, allocations: 0.5009 MB / 0.5545 GB, free: 19.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.009187, allocations: 3.125 kB / 0.5545 GB, free: 19.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002781/0.009465, allocations: 415.5 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.009504, allocations: 89.09 kB / 0.5549 GB, free: 19.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.009511, allocations: 7.984 kB / 0.555 GB, free: 19.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.009522, allocations: 7.938 kB / 0.555 GB, free: 19.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.009857, allocations: 142 kB / 0.5551 GB, free: 19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.009864, allocations: 7.984 kB / 0.5551 GB, free: 18.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.01001, allocations: 16 kB / 0.5551 GB, free: 18.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.01003, allocations: 16 kB / 0.5551 GB, free: 18.96 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: infusion_source.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Ce:VARIABLE(start = 0.0 fixed = true ) \"Effect site concentration\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 24 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral1.Cmin,$PRE.peripheral1.Cmin,peripheral1.Cmax,$PRE.peripheral1.Cmax,peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral2.rising,$PRE.peripheral2.rising,peripheral1.rising,$PRE.peripheral1.rising,central.rising,$PRE.central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.01017, allocations: 248.7 kB / 0.5554 GB, free: 18.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.01021, allocations: 43.91 kB / 0.5554 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.01025, allocations: 39.3 kB / 0.5554 GB, free: 18.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01025, allocations: 4 kB / 0.5555 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01025, allocations: 0 / 0.5555 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.01026, allocations: 0 / 0.5555 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.01076, allocations: 0.6343 MB / 0.5561 GB, free: 17.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.01077, allocations: 7.984 kB / 0.5561 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.01106, allocations: 103.8 kB / 0.5562 GB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.0111, allocations: 27.81 kB / 0.5562 GB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.0111, allocations: 0 / 0.5562 GB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.01112, allocations: 22.67 kB / 0.5562 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01112, allocations: 0 / 0.5562 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01112, allocations: 0 / 0.5562 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.01151, allocations: 0.6858 MB / 0.5569 GB, free: 16.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.01156, allocations: 12 kB / 0.5569 GB, free: 16.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.0117, allocations: 12 kB / 0.5569 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.01175, allocations: 31.94 kB / 0.557 GB, free: 16.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.01177, allocations: 16 kB / 0.557 GB, free: 16.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.531e-05/0.01184, allocations: 94.75 kB / 0.5571 GB, free: 16.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01184, allocations: 0 / 0.5571 GB, free: 16.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002841/0.01213, allocations: 96 kB / 0.5571 GB, free: 16.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (central.C,central.AUC,peripheral1.C,peripheral1.AUC,peripheral2.C,peripheral2.AUC,elim.MExc,infusion_source.TotalCumulativeMass,Ce) * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,central.Cmax,central.Cmin,central.rising,peripheral1.Cmax,peripheral1.Cmin,peripheral1.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 15 (peripheral1.Cmin,$whenCondition4,peripheral1.Cmax,$whenCondition3,peripheral1.rising,peripheral2.Cmin,$whenCondition2,peripheral2.Cmax,$whenCondition1,peripheral2.rising,central.Cmin,$whenCondition6,central.Cmax,$whenCondition5,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.242e-05/0.0122, allocations: 100.3 kB / 0.5572 GB, free: 16.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.01247, allocations: 0.5259 MB / 0.5578 GB, free: 16.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.01248, allocations: 8.125 kB / 0.5578 GB, free: 16.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.01263, allocations: 372.4 kB / 0.5581 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.01296, allocations: 122.9 kB / 0.5582 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008479/0.02143, allocations: 0.8168 MB / 0.559 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.972e-05/0.02148, allocations: 101.1 kB / 0.5591 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.02163, allocations: 42.97 kB / 0.5592 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.02184, allocations: 147.3 kB / 0.5593 GB, free: 14.31 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02184, allocations: 0 / 0.5593 GB, free: 14.31 MB / 410.7 MB Notification: Performance of Templates: time 0.2631/0.2849, allocations: 5.663 MB / 0.5648 GB, free: 83.39 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.738257922232151]