Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.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.001003/0.001003, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 13.93 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.001114/0.001114, allocations: 217.3 kB / 23 MB, free: 2.965 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 0.922/0.922, allocations: 230.7 MB / 256.8 MB, free: 9.609 MB / 202.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.7149/0.7149, allocations: 312.3 MB / 0.6108 GB, free: 97.03 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.Schnider,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider") translateModel(Pharmacolibrary.Examples.Propofol.Schnider,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 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.001456/0.001456, allocations: 81.3 kB / 0.7698 GB, free: 19.67 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1132, allocations: 74 MB / 0.8421 GB, free: 9.812 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Schnider): time 0.002754/0.116, allocations: 2.5 MB / 0.8445 GB, free: 7.312 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004607/0.1164, allocations: 283.8 kB / 0.8448 GB, free: 7.043 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.1165, allocations: 0.5938 kB / 0.8448 GB, free: 7.043 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.1167, allocations: 43.58 kB / 0.8448 GB, free: 7 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.1169, allocations: 108.3 kB / 0.8449 GB, free: 6.895 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.117, allocations: 56.98 kB / 0.845 GB, free: 6.84 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.1173, allocations: 366.3 kB / 0.8454 GB, free: 6.48 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1174, allocations: 49.62 kB / 0.8454 GB, free: 6.434 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.555e-05/0.1175, allocations: 152 kB / 0.8455 GB, free: 6.285 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.1177, allocations: 143.9 kB / 0.8457 GB, free: 6.145 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.1177, allocations: 24 kB / 0.8457 GB, free: 6.121 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.374e-05/0.1177, allocations: 24.5 kB / 0.8457 GB, free: 6.098 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.1178, allocations: 68.3 kB / 0.8458 GB, free: 6.031 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.683e-05/0.1179, allocations: 131.4 kB / 0.8459 GB, free: 5.902 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.1181, allocations: 283.5 kB / 0.8462 GB, free: 5.625 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1181, allocations: 0 / 0.8462 GB, free: 5.625 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1181, allocations: 0.5625 kB / 0.8462 GB, free: 5.625 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1181, allocations: 0.7812 kB / 0.8462 GB, free: 5.625 MB / 474.8 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.0007227/0.1188, allocations: 0.5994 MB / 0.8468 GB, free: 4.977 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1189, allocations: 8.656 kB / 0.8468 GB, free: 4.969 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.1189, allocations: 32.75 kB / 0.8468 GB, free: 4.938 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1192, allocations: 229.7 kB / 0.847 GB, free: 4.688 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1192, allocations: 17.47 kB / 0.8471 GB, free: 4.672 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.1192, allocations: 28.33 kB / 0.8471 GB, free: 4.645 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1195, allocations: 281.4 kB / 0.8473 GB, free: 4.344 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1195, allocations: 4.906 kB / 0.8474 GB, free: 4.34 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1195, allocations: 15.94 kB / 0.8474 GB, free: 4.324 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1195, allocations: 4.625 kB / 0.8474 GB, free: 4.32 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.1198, allocations: 255.3 kB / 0.8476 GB, free: 4.055 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.1204, allocations: 499.8 kB / 0.8481 GB, free: 3.539 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.1207, allocations: 261.2 kB / 0.8483 GB, free: 3.25 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.1208, allocations: 174.7 kB / 0.8485 GB, free: 3.059 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.1209, allocations: 8.594 kB / 0.8485 GB, free: 3.051 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.1211, allocations: 464.2 kB / 0.849 GB, free: 2.527 MB / 474.8 MB Notification: Performance of pre-optimization done (n=39): time 2.445e-06/0.1211, allocations: 0.5938 kB / 0.849 GB, free: 2.527 MB / 474.8 MB Notification: Performance of matching and sorting (n=42): time 0.001273/0.1224, allocations: 1.301 MB / 0.8502 GB, free: 1.105 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/0.1225, allocations: 303.3 kB / 0.8505 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.1227, allocations: 233 kB / 0.8507 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1227, allocations: 38.23 kB / 0.8508 GB, free: 476 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.1228, allocations: 144.9 kB / 0.8509 GB, free: 324 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.494e-05/0.1228, allocations: 151.4 kB / 0.8511 GB, free: 172 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.123, allocations: 74.78 kB / 0.8511 GB, free: 92 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.1231, allocations: 338.8 kB / 0.8515 GB, free: 15.75 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.1233, allocations: 212.6 kB / 0.8517 GB, free: 15.52 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1235, allocations: 277 kB / 0.8519 GB, free: 15.2 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007533/0.1242, allocations: 0.8141 MB / 0.8527 GB, free: 14.28 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1242, allocations: 4 kB / 0.8527 GB, free: 14.28 MB / 490.8 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004492/0.1247, allocations: 0.5564 MB / 0.8533 GB, free: 13.68 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.1247, allocations: 90.59 kB / 0.8533 GB, free: 13.57 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1247, allocations: 4 kB / 0.8534 GB, free: 13.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1248, allocations: 4 kB / 0.8534 GB, free: 13.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.1249, allocations: 96.36 kB / 0.8534 GB, free: 13.47 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.125, allocations: 7.984 kB / 0.8535 GB, free: 13.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.1251, allocations: 20.61 kB / 0.8535 GB, free: 13.45 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1251, allocations: 21.53 kB / 0.8535 GB, free: 13.43 MB / 490.8 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.0002023/0.1253, allocations: 262.1 kB / 0.8537 GB, free: 13.14 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.1253, allocations: 31.81 kB / 0.8538 GB, free: 13.11 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.1254, allocations: 29.06 kB / 0.8538 GB, free: 13.09 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1254, allocations: 4 kB / 0.8538 GB, free: 13.09 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1254, allocations: 0 / 0.8538 GB, free: 13.09 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.1254, allocations: 7.984 kB / 0.8538 GB, free: 13.08 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007405/0.1261, allocations: 0.8819 MB / 0.8547 GB, free: 12.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.1261, allocations: 7.938 kB / 0.8547 GB, free: 12.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.1263, allocations: 61.09 kB / 0.8547 GB, free: 12.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1263, allocations: 4 kB / 0.8547 GB, free: 12.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.1263, allocations: 15.92 kB / 0.8548 GB, free: 12.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1263, allocations: 5.469 kB / 0.8548 GB, free: 12.04 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1263, allocations: 0 / 0.8548 GB, free: 12.04 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2693/0.3956, allocations: 0.8775 MB / 0.8556 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.43e-05/0.3957, allocations: 21.84 kB / 0.8556 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.3958, allocations: 20.22 kB / 0.8557 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3959, allocations: 12.64 kB / 0.8557 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/0.396, allocations: 35.77 kB / 0.8557 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.396, allocations: 9.531 kB / 0.8557 GB, free: 29.31 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000117/0.3961, allocations: 177.8 kB / 0.8559 GB, free: 29.23 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.3961, allocations: 0 / 0.8559 GB, free: 29.23 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002831/0.3964, allocations: 99.06 kB / 0.856 GB, free: 29.23 MB / 490.8 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 0.0001053/0.3965, allocations: 121.3 kB / 0.8561 GB, free: 29.14 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004558/0.397, allocations: 0.6003 MB / 0.8567 GB, free: 28.77 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.397, allocations: 0 / 0.8567 GB, free: 28.77 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.3971, allocations: 405.5 kB / 0.8571 GB, free: 28.48 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.3975, allocations: 61.59 kB / 0.8571 GB, free: 28.48 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.3987, allocations: 1.129 MB / 0.8582 GB, free: 27.93 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.852e-05/0.3988, allocations: 175.3 kB / 0.8584 GB, free: 27.85 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.3988, allocations: 33.28 kB / 0.8584 GB, free: 27.85 MB / 490.8 MB Notification: Performance of SimCode: time 9.12e-07/0.3988, allocations: 0 / 0.8584 GB, free: 27.85 MB / 490.8 MB Notification: Performance of Templates: time 0.00532/0.4042, allocations: 4.053 MB / 0.8624 GB, free: 27.46 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.846195609308779]