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.001006/0.001006, 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.001578/0.001578, 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.8994/0.8994, allocations: 177.1 MB / 203.5 MB, free: 5.375 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.6861/0.6861, allocations: 291.1 MB / 0.5382 GB, free: 50.94 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.493e-06/1.493e-06, allocations: 0 / 0.6972 GB, free: 10.44 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.374e-05, allocations: 2.281 kB / 0.6972 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Eleveld): time 0.002276/0.0023, allocations: 2.552 MB / 0.6997 GB, free: 7.863 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004624/0.002763, allocations: 303.4 kB / 0.7 GB, free: 7.566 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.544e-05/0.002858, allocations: 7.938 kB / 0.7 GB, free: 7.559 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.002978, allocations: 39.58 kB / 0.7001 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.003217, allocations: 126.9 kB / 0.7002 GB, free: 7.395 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.00332, allocations: 67.83 kB / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.003572, allocations: 402 kB / 0.7006 GB, free: 6.934 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.003715, allocations: 52.91 kB / 0.7007 GB, free: 6.887 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.003842, allocations: 227.4 kB / 0.7009 GB, free: 6.664 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.004021, allocations: 139.6 kB / 0.701 GB, free: 6.527 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.004058, allocations: 24 kB / 0.7011 GB, free: 6.504 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.935e-05/0.004088, allocations: 28 kB / 0.7011 GB, free: 6.477 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.00413, allocations: 71.59 kB / 0.7012 GB, free: 6.406 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.322e-05/0.004213, allocations: 119.7 kB / 0.7013 GB, free: 6.289 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.00442, allocations: 291.1 kB / 0.7016 GB, free: 6.004 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004422, allocations: 0 / 0.7016 GB, free: 6.004 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004423, allocations: 0 / 0.7016 GB, free: 6.004 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.004428, allocations: 4 kB / 0.7016 GB, free: 6 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.0007545/0.005182, allocations: 0.6388 MB / 0.7022 GB, free: 5.309 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.00522, allocations: 12.03 kB / 0.7022 GB, free: 5.297 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.005279, allocations: 36.7 kB / 0.7022 GB, free: 5.262 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.005498, allocations: 240.6 kB / 0.7025 GB, free: 5 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.005515, allocations: 24.81 kB / 0.7025 GB, free: 4.977 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.005548, allocations: 28.33 kB / 0.7025 GB, free: 4.949 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.005795, allocations: 285.7 kB / 0.7028 GB, free: 4.645 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.00581, allocations: 192 / 0.7028 GB, free: 4.645 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.00583, allocations: 12.38 kB / 0.7028 GB, free: 4.633 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.005837, allocations: 8.359 kB / 0.7028 GB, free: 4.625 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.006049, allocations: 262.9 kB / 0.703 GB, free: 4.352 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.006602, allocations: 0.5101 MB / 0.7035 GB, free: 3.809 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.006916, allocations: 260.6 kB / 0.7038 GB, free: 3.52 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.007031, allocations: 178.2 kB / 0.704 GB, free: 3.324 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.007044, allocations: 0 / 0.704 GB, free: 3.324 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.007273, allocations: 451.2 kB / 0.7044 GB, free: 2.816 MB / 410.8 MB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.007275, allocations: 4 kB / 0.7044 GB, free: 2.812 MB / 410.8 MB Notification: Performance of matching and sorting (n=42): time 0.001075/0.00835, allocations: 1.322 MB / 0.7057 GB, free: 1.371 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.008413, allocations: 302.7 kB / 0.706 GB, free: 1.008 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.008581, allocations: 265.9 kB / 0.7062 GB, free: 0.7422 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.008601, allocations: 33.7 kB / 0.7063 GB, free: 0.7031 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.008648, allocations: 152.9 kB / 0.7064 GB, free: 0.5469 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.008707, allocations: 142.9 kB / 0.7065 GB, free: 416 kB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.00877, allocations: 74.19 kB / 0.7066 GB, free: 336 kB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.957e-05/0.00883, allocations: 346.8 kB / 0.7069 GB, free: 15.98 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.009004, allocations: 203.9 kB / 0.7071 GB, free: 15.76 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.009201, allocations: 280.3 kB / 0.7074 GB, free: 15.43 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/0.009995, allocations: 0.8429 MB / 0.7082 GB, free: 14.48 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009997, allocations: 0 / 0.7082 GB, free: 14.48 MB / 426.8 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004742/0.01047, allocations: 0.5579 MB / 0.7088 GB, free: 13.88 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.01051, allocations: 93.38 kB / 0.7089 GB, free: 13.77 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01052, allocations: 8 kB / 0.7089 GB, free: 13.76 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.01053, allocations: 4 kB / 0.7089 GB, free: 13.75 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.01072, allocations: 87.89 kB / 0.709 GB, free: 13.67 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.01074, allocations: 11.92 kB / 0.709 GB, free: 13.66 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.01086, allocations: 16 kB / 0.709 GB, free: 13.64 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.01088, allocations: 16 kB / 0.709 GB, free: 13.62 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.0001932/0.01107, allocations: 260.2 kB / 0.7093 GB, free: 13.35 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.01111, allocations: 39.75 kB / 0.7093 GB, free: 13.31 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.01132, allocations: 35.3 kB / 0.7093 GB, free: 13.27 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01133, allocations: 4 kB / 0.7093 GB, free: 13.27 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.01133, allocations: 0 / 0.7093 GB, free: 13.27 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01134, allocations: 3.984 kB / 0.7093 GB, free: 13.27 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007875/0.01212, allocations: 0.9075 MB / 0.7102 GB, free: 12.29 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01213, allocations: 0 / 0.7102 GB, free: 12.29 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.01231, allocations: 71.89 kB / 0.7103 GB, free: 12.21 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01232, allocations: 0 / 0.7103 GB, free: 12.21 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.01234, allocations: 20 kB / 0.7103 GB, free: 12.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.01234, allocations: 0 / 0.7103 GB, free: 12.2 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01234, allocations: 0 / 0.7103 GB, free: 12.2 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.01303, allocations: 0.8764 MB / 0.7112 GB, free: 11.25 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.01306, allocations: 27.98 kB / 0.7112 GB, free: 11.22 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.0131, allocations: 12 kB / 0.7112 GB, free: 11.21 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.01322, allocations: 15.94 kB / 0.7112 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.01329, allocations: 35.94 kB / 0.7112 GB, free: 11.16 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.0133, allocations: 16 kB / 0.7113 GB, free: 11.14 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001372/0.01344, allocations: 201.2 kB / 0.7115 GB, free: 10.95 MB / 426.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01344, allocations: 0 / 0.7115 GB, free: 10.95 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002319/0.01367, allocations: 96 kB / 0.7115 GB, free: 10.85 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 0.0001066/0.01378, allocations: 120.5 kB / 0.7117 GB, free: 10.73 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004558/0.01424, allocations: 0.5991 MB / 0.7122 GB, free: 10.05 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01424, allocations: 4.125 kB / 0.7123 GB, free: 10.05 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.01447, allocations: 407.1 kB / 0.7126 GB, free: 9.598 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.01479, allocations: 78.75 kB / 0.7127 GB, free: 9.523 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.01584, allocations: 0.9703 MB / 0.7137 GB, free: 8.504 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.01595, allocations: 173.7 kB / 0.7138 GB, free: 8.312 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.36e-05/0.01603, allocations: 32.5 kB / 0.7139 GB, free: 8.277 MB / 426.8 MB Notification: Performance of SimCode: time 3.61e-07/0.01604, allocations: 0 / 0.7139 GB, free: 8.277 MB / 426.8 MB Notification: Performance of Templates: time 0.00467/0.0207, allocations: 4.372 MB / 0.7181 GB, free: 3.906 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.410998927429318]