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.0009563/0.0009563, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009444/0.0009444, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9157/0.9157, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.7113/0.7113, allocations: 291.2 MB / 0.5382 GB, free: 51.88 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.28e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.44 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Paedfusor): time 0.002679/0.002702, allocations: 2.47 MB / 0.6997 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003567/0.003058, allocations: 291.2 kB / 0.7 GB, free: 7.668 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.003126, allocations: 4 kB / 0.7 GB, free: 7.664 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.313e-05/0.003199, allocations: 35.58 kB / 0.7 GB, free: 7.629 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.003368, allocations: 123.1 kB / 0.7001 GB, free: 7.508 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.21e-05/0.003441, allocations: 59.86 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.003643, allocations: 374.1 kB / 0.7005 GB, free: 7.082 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.003742, allocations: 56.84 kB / 0.7006 GB, free: 7.031 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.003847, allocations: 195.6 kB / 0.7008 GB, free: 6.84 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.003954, allocations: 115.7 kB / 0.7009 GB, free: 6.727 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.00398, allocations: 20 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.308e-05/0.004003, allocations: 24 kB / 0.7009 GB, free: 6.684 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.004033, allocations: 63.69 kB / 0.701 GB, free: 6.621 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.004097, allocations: 115.7 kB / 0.7011 GB, free: 6.508 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.004264, allocations: 271.2 kB / 0.7014 GB, free: 6.242 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004266, allocations: 0 / 0.7014 GB, free: 6.242 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004266, allocations: 4 kB / 0.7014 GB, free: 6.238 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.004271, allocations: 0 / 0.7014 GB, free: 6.238 MB / 410.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.0005253/0.004796, allocations: 0.5767 MB / 0.7019 GB, free: 5.609 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.004831, allocations: 12.03 kB / 0.7019 GB, free: 5.598 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.004869, allocations: 32.75 kB / 0.702 GB, free: 5.566 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.005085, allocations: 232.7 kB / 0.7022 GB, free: 5.312 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.005099, allocations: 12.88 kB / 0.7022 GB, free: 5.301 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.005124, allocations: 24.38 kB / 0.7022 GB, free: 5.277 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.005335, allocations: 281.7 kB / 0.7025 GB, free: 4.977 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.005347, allocations: 12.14 kB / 0.7025 GB, free: 4.965 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.005359, allocations: 4.375 kB / 0.7025 GB, free: 4.961 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.005363, allocations: 8.375 kB / 0.7025 GB, free: 4.953 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.005574, allocations: 262.9 kB / 0.7028 GB, free: 4.68 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.006033, allocations: 498.3 kB / 0.7032 GB, free: 4.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.006295, allocations: 260.6 kB / 0.7035 GB, free: 3.875 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.006402, allocations: 178.2 kB / 0.7037 GB, free: 3.68 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.006412, allocations: 8 kB / 0.7037 GB, free: 3.672 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.006618, allocations: 446.7 kB / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of pre-optimization done (n=39): time 1.202e-06/0.006619, allocations: 0 / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of matching and sorting (n=42): time 0.0009954/0.007614, allocations: 1.307 MB / 0.7054 GB, free: 1.742 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.007664, allocations: 294.7 kB / 0.7056 GB, free: 1.387 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.007839, allocations: 223.7 kB / 0.7059 GB, free: 1.156 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.007854, allocations: 37.7 kB / 0.7059 GB, free: 1.113 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.007887, allocations: 136.9 kB / 0.706 GB, free: 0.9766 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.007944, allocations: 142.8 kB / 0.7062 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.008003, allocations: 74.2 kB / 0.7062 GB, free: 0.7578 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.114e-05/0.008045, allocations: 346.8 kB / 0.7066 GB, free: 420 kB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.00819, allocations: 203.9 kB / 0.7068 GB, free: 192 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.008382, allocations: 280.3 kB / 0.707 GB, free: 15.86 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/0.00916, allocations: 0.8078 MB / 0.7078 GB, free: 14.94 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.009163, allocations: 8 kB / 0.7078 GB, free: 14.93 MB / 426.8 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004961/0.009659, allocations: 0.5578 MB / 0.7084 GB, free: 14.33 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.009705, allocations: 94.75 kB / 0.7085 GB, free: 14.22 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.009713, allocations: 4 kB / 0.7085 GB, free: 14.21 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.009723, allocations: 4 kB / 0.7085 GB, free: 14.21 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.0099, allocations: 92.23 kB / 0.7086 GB, free: 14.12 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.009909, allocations: 11.92 kB / 0.7086 GB, free: 14.11 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.01002, allocations: 23.98 kB / 0.7086 GB, free: 14.09 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.01004, allocations: 20 kB / 0.7086 GB, free: 14.07 MB / 426.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.000173/0.01022, allocations: 253.5 kB / 0.7089 GB, free: 13.79 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.01025, allocations: 39.73 kB / 0.7089 GB, free: 13.75 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.01028, allocations: 31 kB / 0.7089 GB, free: 13.73 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01029, allocations: 4 kB / 0.7089 GB, free: 13.72 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01029, allocations: 0 / 0.7089 GB, free: 13.72 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01029, allocations: 3.984 kB / 0.7089 GB, free: 13.72 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008026/0.0111, allocations: 0.8764 MB / 0.7098 GB, free: 12.77 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.0111, allocations: 0 / 0.7098 GB, free: 12.77 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.01128, allocations: 71.89 kB / 0.7099 GB, free: 12.7 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01128, allocations: 0 / 0.7099 GB, free: 12.7 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.0113, allocations: 16 kB / 0.7099 GB, free: 12.68 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01131, allocations: 0 / 0.7099 GB, free: 12.68 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01131, allocations: 3.984 kB / 0.7099 GB, free: 12.68 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007206/0.01203, allocations: 0.8763 MB / 0.7107 GB, free: 11.73 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.01206, allocations: 19.84 kB / 0.7107 GB, free: 11.71 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.0121, allocations: 16.19 kB / 0.7108 GB, free: 11.7 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.01223, allocations: 19.98 kB / 0.7108 GB, free: 11.68 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.01228, allocations: 27.89 kB / 0.7108 GB, free: 11.65 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.0123, allocations: 27.98 kB / 0.7108 GB, free: 11.62 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001621/0.01246, allocations: 175.3 kB / 0.711 GB, free: 11.45 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01246, allocations: 0 / 0.711 GB, free: 11.45 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002195/0.01268, allocations: 88 kB / 0.7111 GB, free: 11.36 MB / 426.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 9.683e-05/0.01278, allocations: 117.7 kB / 0.7112 GB, free: 11.24 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004927/0.01327, allocations: 0.6026 MB / 0.7118 GB, free: 10.56 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.01327, allocations: 0 / 0.7118 GB, free: 10.56 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.01353, allocations: 411 kB / 0.7122 GB, free: 10.11 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.01381, allocations: 72.41 kB / 0.7122 GB, free: 10.04 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.01486, allocations: 0.9196 MB / 0.7131 GB, free: 9.066 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.01502, allocations: 159.7 kB / 0.7133 GB, free: 8.891 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.01512, allocations: 28.5 kB / 0.7133 GB, free: 8.863 MB / 426.8 MB Notification: Performance of SimCode: time 5.11e-07/0.01513, allocations: 0 / 0.7133 GB, free: 8.863 MB / 426.8 MB Notification: Performance of Templates: time 0.005022/0.02015, allocations: 3.898 MB / 0.7171 GB, free: 4.965 MB / 426.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.566672870889306]