Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.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.001099/0.001099, allocations: 108.3 kB / 19.71 MB, free: 432 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.001305/0.001305, allocations: 220.4 kB / 23 MB, free: 2.969 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.9332/0.9332, allocations: 230.6 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.6978/0.6978, allocations: 312.3 MB / 0.6109 GB, free: 96.89 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.Paedfusor,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor") translateModel(Pharmacolibrary.Examples.Propofol.Paedfusor,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor") [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.001387/0.001387, allocations: 71.33 kB / 0.7698 GB, free: 19.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1108, allocations: 73.98 MB / 0.8421 GB, free: 9.91 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Paedfusor): time 0.002521/0.1133, allocations: 2.47 MB / 0.8445 GB, free: 7.441 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004821/0.1138, allocations: 294.9 kB / 0.8448 GB, free: 7.16 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.1139, allocations: 4.5 kB / 0.8448 GB, free: 7.156 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.114, allocations: 36.14 kB / 0.8448 GB, free: 7.121 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1143, allocations: 112.4 kB / 0.8449 GB, free: 7.012 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.1144, allocations: 61.16 kB / 0.845 GB, free: 6.953 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.1146, allocations: 354.4 kB / 0.8453 GB, free: 6.605 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.1148, allocations: 49.59 kB / 0.8454 GB, free: 6.559 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.719e-05/0.1149, allocations: 143.5 kB / 0.8455 GB, free: 6.418 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.115, allocations: 140 kB / 0.8456 GB, free: 6.281 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.1151, allocations: 24.59 kB / 0.8457 GB, free: 6.258 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.164e-05/0.1151, allocations: 24 kB / 0.8457 GB, free: 6.234 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.1151, allocations: 60.41 kB / 0.8457 GB, free: 6.176 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.428e-05/0.1152, allocations: 123.5 kB / 0.8459 GB, free: 6.055 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1155, allocations: 279.4 kB / 0.8461 GB, free: 5.781 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1155, allocations: 0.7188 kB / 0.8461 GB, free: 5.781 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1155, allocations: 0 / 0.8461 GB, free: 5.781 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.1155, allocations: 0.625 kB / 0.8461 GB, free: 5.781 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.0008154/0.1163, allocations: 0.5796 MB / 0.8467 GB, free: 5.152 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1163, allocations: 12.02 kB / 0.8467 GB, free: 5.141 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.1164, allocations: 33.34 kB / 0.8467 GB, free: 5.109 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.1167, allocations: 223.7 kB / 0.8469 GB, free: 4.867 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.1167, allocations: 20.81 kB / 0.847 GB, free: 4.848 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.1167, allocations: 29.02 kB / 0.847 GB, free: 4.82 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.117, allocations: 281.5 kB / 0.8473 GB, free: 4.52 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1171, allocations: 192 / 0.8473 GB, free: 4.52 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.1171, allocations: 12.5 kB / 0.8473 GB, free: 4.508 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1171, allocations: 4.594 kB / 0.8473 GB, free: 4.504 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.1173, allocations: 259.1 kB / 0.8475 GB, free: 4.23 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006239/0.118, allocations: 0.4918 MB / 0.848 GB, free: 3.711 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.1183, allocations: 265.2 kB / 0.8483 GB, free: 3.422 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.1185, allocations: 174.7 kB / 0.8484 GB, free: 3.23 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.1185, allocations: 0.5312 kB / 0.8484 GB, free: 3.23 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004475/0.1189, allocations: 460.8 kB / 0.8489 GB, free: 2.711 MB / 474.8 MB Notification: Performance of pre-optimization done (n=39): time 1.983e-06/0.1189, allocations: 0 / 0.8489 GB, free: 2.711 MB / 474.8 MB Notification: Performance of matching and sorting (n=42): time 0.001279/0.1202, allocations: 1.285 MB / 0.8501 GB, free: 1.309 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.295e-05/0.1203, allocations: 303.3 kB / 0.8504 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1205, allocations: 215.9 kB / 0.8506 GB, free: 0.7227 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1205, allocations: 38.42 kB / 0.8507 GB, free: 0.6797 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.1206, allocations: 140.8 kB / 0.8508 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/0.1206, allocations: 143.4 kB / 0.8509 GB, free: 408 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.1207, allocations: 78.19 kB / 0.851 GB, free: 324 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.1208, allocations: 335.4 kB / 0.8513 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.121, allocations: 212.4 kB / 0.8515 GB, free: 15.75 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.1212, allocations: 281 kB / 0.8518 GB, free: 15.42 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007307/0.1219, allocations: 0.8071 MB / 0.8526 GB, free: 14.5 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1219, allocations: 0.625 kB / 0.8526 GB, free: 14.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004441/0.1223, allocations: 0.5648 MB / 0.8531 GB, free: 13.9 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.1224, allocations: 85.11 kB / 0.8532 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1224, allocations: 4.484 kB / 0.8532 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1224, allocations: 11.94 kB / 0.8532 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.1226, allocations: 94.38 kB / 0.8533 GB, free: 13.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.1226, allocations: 7.984 kB / 0.8533 GB, free: 13.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.1227, allocations: 23.98 kB / 0.8533 GB, free: 13.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.1227, allocations: 16 kB / 0.8534 GB, free: 13.64 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.0001988/0.1229, allocations: 269 kB / 0.8536 GB, free: 13.36 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.123, allocations: 27.86 kB / 0.8536 GB, free: 13.33 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.123, allocations: 33.48 kB / 0.8537 GB, free: 13.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.123, allocations: 4 kB / 0.8537 GB, free: 13.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.123, allocations: 0 / 0.8537 GB, free: 13.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.123, allocations: 4 kB / 0.8537 GB, free: 13.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007272/0.1237, allocations: 0.8805 MB / 0.8545 GB, free: 12.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1237, allocations: 6.469 kB / 0.8546 GB, free: 12.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.1239, allocations: 67.89 kB / 0.8546 GB, free: 12.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1239, allocations: 0 / 0.8546 GB, free: 12.27 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.1239, allocations: 15.98 kB / 0.8546 GB, free: 12.26 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1239, allocations: 4 kB / 0.8546 GB, free: 12.25 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1239, allocations: 0 / 0.8546 GB, free: 12.25 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/0.1247, allocations: 0.8691 MB / 0.8555 GB, free: 11.31 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2658/0.3905, allocations: 21.34 kB / 0.8555 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.3906, allocations: 14.34 kB / 0.8555 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.3908, allocations: 26.92 kB / 0.8555 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/0.3909, allocations: 26.61 kB / 0.8556 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.3909, allocations: 15.36 kB / 0.8556 GB, free: 29.68 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001757/0.3911, allocations: 174.5 kB / 0.8557 GB, free: 29.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.3911, allocations: 1.688 kB / 0.8558 GB, free: 29.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002878/0.3914, allocations: 96.41 kB / 0.8558 GB, free: 29.6 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.0001004/0.3915, allocations: 115 kB / 0.856 GB, free: 29.51 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000469/0.392, allocations: 0.5998 MB / 0.8565 GB, free: 29.14 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.392, allocations: 0 / 0.8565 GB, free: 29.14 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.3921, allocations: 405.3 kB / 0.8569 GB, free: 28.86 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.3925, allocations: 75.03 kB / 0.857 GB, free: 28.86 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.3936, allocations: 1.096 MB / 0.8581 GB, free: 28.32 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.719e-05/0.3937, allocations: 159.5 kB / 0.8582 GB, free: 28.24 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.3938, allocations: 29.53 kB / 0.8582 GB, free: 28.23 MB / 490.8 MB Notification: Performance of SimCode: time 8.32e-07/0.3938, allocations: 0 / 0.8582 GB, free: 28.23 MB / 490.8 MB Notification: Performance of Templates: time 0.005493/0.3993, allocations: 3.894 MB / 0.862 GB, free: 27.87 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.813423844054341]