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.001953/0.001953, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.002102/0.002102, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 1.632/1.632, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] 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 1.315/1.315, allocations: 292.9 MB / 0.5392 GB, free: 50.18 MB / 410.7 MB " [Timeout remaining time 178] 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 2.265e-06/2.265e-06, allocations: 0 / 0.6998 GB, free: 8.656 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.735e-05, allocations: 2.281 kB / 0.6998 GB, free: 8.652 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Eleveld): time 0.002865/0.002892, allocations: 2.536 MB / 0.7023 GB, free: 6.098 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005754/0.003467, allocations: 307.3 kB / 0.7026 GB, free: 5.797 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.003583, allocations: 4 kB / 0.7026 GB, free: 5.793 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.003715, allocations: 35.58 kB / 0.7026 GB, free: 5.758 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.004028, allocations: 134.9 kB / 0.7027 GB, free: 5.625 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.004153, allocations: 67.83 kB / 0.7028 GB, free: 5.559 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.004493, allocations: 398 kB / 0.7032 GB, free: 5.168 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.004649, allocations: 56.91 kB / 0.7032 GB, free: 5.117 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.004826, allocations: 219.4 kB / 0.7035 GB, free: 4.902 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.005052, allocations: 151.5 kB / 0.7036 GB, free: 4.754 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.927e-05/0.005101, allocations: 24 kB / 0.7036 GB, free: 4.73 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.422e-05/0.005145, allocations: 24 kB / 0.7036 GB, free: 4.707 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.005195, allocations: 67.69 kB / 0.7037 GB, free: 4.641 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.005306, allocations: 123.6 kB / 0.7038 GB, free: 4.52 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.005558, allocations: 295 kB / 0.7041 GB, free: 4.23 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.005563, allocations: 0 / 0.7041 GB, free: 4.23 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005564, allocations: 0 / 0.7041 GB, free: 4.23 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.00557, allocations: 0 / 0.7041 GB, free: 4.23 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.001099/0.006669, allocations: 0.6427 MB / 0.7047 GB, free: 3.535 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.006704, allocations: 8.031 kB / 0.7047 GB, free: 3.527 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.374e-05/0.006778, allocations: 40.7 kB / 0.7048 GB, free: 3.488 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.00705, allocations: 240.6 kB / 0.705 GB, free: 3.227 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.007075, allocations: 24.88 kB / 0.705 GB, free: 3.203 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.007117, allocations: 24.33 kB / 0.7051 GB, free: 3.18 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.007466, allocations: 289.7 kB / 0.7053 GB, free: 2.871 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.007485, allocations: 4.188 kB / 0.7053 GB, free: 2.867 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.007506, allocations: 8.375 kB / 0.7053 GB, free: 2.859 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.007512, allocations: 8.375 kB / 0.7054 GB, free: 2.852 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.007854, allocations: 258.9 kB / 0.7056 GB, free: 2.582 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.008589, allocations: 0.4984 MB / 0.7061 GB, free: 2.051 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.009031, allocations: 272.5 kB / 0.7063 GB, free: 1.75 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.00922, allocations: 170.2 kB / 0.7065 GB, free: 1.562 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.009241, allocations: 8 kB / 0.7065 GB, free: 1.555 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.009597, allocations: 451.2 kB / 0.7069 GB, free: 1.047 MB / 410.8 MB Notification: Performance of pre-optimization done (n=39): time 1.933e-06/0.009599, allocations: 0 / 0.7069 GB, free: 1.047 MB / 410.8 MB Notification: Performance of matching and sorting (n=42): time 0.001886/0.01148, allocations: 1.315 MB / 0.7082 GB, free: 15.61 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005136/0.012, allocations: 310.7 kB / 0.7085 GB, free: 15.24 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.01235, allocations: 265.9 kB / 0.7088 GB, free: 14.98 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.01239, allocations: 33.7 kB / 0.7088 GB, free: 14.94 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.01252, allocations: 156.9 kB / 0.709 GB, free: 14.78 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.01267, allocations: 142.8 kB / 0.7091 GB, free: 14.64 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.0128, allocations: 74.2 kB / 0.7092 GB, free: 14.56 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.01301, allocations: 346.8 kB / 0.7095 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.01333, allocations: 203.9 kB / 0.7097 GB, free: 13.99 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.01372, allocations: 280.4 kB / 0.71 GB, free: 13.66 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.01524, allocations: 0.8351 MB / 0.7108 GB, free: 12.71 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.01525, allocations: 4 kB / 0.7108 GB, free: 12.71 MB / 426.8 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008988/0.01615, allocations: 0.5539 MB / 0.7113 GB, free: 12.11 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.46e-05/0.01624, allocations: 101 kB / 0.7114 GB, free: 12 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01625, allocations: 352 / 0.7114 GB, free: 12 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.01627, allocations: 12 kB / 0.7114 GB, free: 11.98 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.01665, allocations: 87.89 kB / 0.7115 GB, free: 11.9 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.01666, allocations: 7.938 kB / 0.7115 GB, free: 11.89 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.01693, allocations: 19.92 kB / 0.7115 GB, free: 11.87 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.01696, allocations: 20 kB / 0.7116 GB, free: 11.85 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.0003403/0.01731, allocations: 265.2 kB / 0.7118 GB, free: 11.57 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/0.01738, allocations: 39.75 kB / 0.7119 GB, free: 11.53 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.391e-05/0.01747, allocations: 31.31 kB / 0.7119 GB, free: 11.5 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.01748, allocations: 7.984 kB / 0.7119 GB, free: 11.49 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.01749, allocations: 0 / 0.7119 GB, free: 11.49 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01749, allocations: 0 / 0.7119 GB, free: 11.49 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.01895, allocations: 0.9037 MB / 0.7128 GB, free: 10.51 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.01895, allocations: 0 / 0.7128 GB, free: 10.51 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.01931, allocations: 67.84 kB / 0.7128 GB, free: 10.45 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.01931, allocations: 4 kB / 0.7128 GB, free: 10.44 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.01936, allocations: 19.98 kB / 0.7129 GB, free: 10.42 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01936, allocations: 0 / 0.7129 GB, free: 10.42 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01936, allocations: 0 / 0.7129 GB, free: 10.42 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.02065, allocations: 0.8725 MB / 0.7137 GB, free: 9.477 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/0.02072, allocations: 31.73 kB / 0.7137 GB, free: 9.445 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.02079, allocations: 12 kB / 0.7138 GB, free: 9.434 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.02106, allocations: 15.98 kB / 0.7138 GB, free: 9.418 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.02117, allocations: 31.95 kB / 0.7138 GB, free: 9.387 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.0212, allocations: 11.98 kB / 0.7138 GB, free: 9.375 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000272/0.02147, allocations: 209.2 kB / 0.714 GB, free: 9.172 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.02147, allocations: 0 / 0.714 GB, free: 9.172 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0004147/0.02189, allocations: 96 kB / 0.7141 GB, free: 9.078 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.0001889/0.02207, allocations: 117.4 kB / 0.7142 GB, free: 8.957 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000884/0.02296, allocations: 0.5913 MB / 0.7148 GB, free: 8.293 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.02296, allocations: 8.188 kB / 0.7148 GB, free: 8.285 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007305/0.02369, allocations: 411 kB / 0.7152 GB, free: 7.828 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.02419, allocations: 79.25 kB / 0.7153 GB, free: 7.754 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.02598, allocations: 0.9413 MB / 0.7162 GB, free: 6.77 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.02618, allocations: 181.6 kB / 0.7164 GB, free: 6.57 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.02637, allocations: 46.94 kB / 0.7164 GB, free: 6.523 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.02649, allocations: 32.5 kB / 0.7164 GB, free: 6.488 MB / 426.8 MB Notification: Performance of SimCode: time 1.002e-06/0.02649, allocations: 0 / 0.7164 GB, free: 6.488 MB / 426.8 MB Notification: Performance of Templates: time 0.2128/0.2393, allocations: 4.872 MB / 0.7212 GB, free: 36 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.756929060909897]