Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CF04_Oxacillin.Oxacillin.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.00258/0.00258, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002965/0.002965, allocations: 221 kB / 22.25 MB, free: 3.559 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 1.797/1.797, allocations: 230.6 MB / 256 MB, free: 9.645 MB / 202.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.382/1.382, allocations: 316.7 MB / 0.6144 GB, free: 93.44 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.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CF04_Oxacillin.Oxacillin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CF04_Oxacillin.Oxacillin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CF04_Oxacillin.Oxacillin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CF04_Oxacillin.Oxacillin") [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.01194/0.01194, allocations: 77.47 kB / 0.775 GB, free: 15.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2185, allocations: 73.98 MB / 0.8472 GB, free: 5.172 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CF04_Oxacillin.Oxacillin): time 0.005277/0.2238, allocations: 2.301 MB / 0.8495 GB, free: 2.871 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3613/0.5851, allocations: 6.525 MB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003786/0.5855, allocations: 1.031 kB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.5857, allocations: 27.38 kB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.5861, allocations: 85.5 kB / 0.856 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.5864, allocations: 49.39 kB / 0.856 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.5868, allocations: 260.5 kB / 0.8563 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.5869, allocations: 39.28 kB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.5871, allocations: 97.92 kB / 0.8564 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.5873, allocations: 97.86 kB / 0.8565 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.5874, allocations: 17.72 kB / 0.8565 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-05/0.5874, allocations: 19.06 kB / 0.8565 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.5875, allocations: 34.58 kB / 0.8566 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.5876, allocations: 97.41 kB / 0.8566 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.5879, allocations: 201.7 kB / 0.8568 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.5879, allocations: 0 / 0.8568 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5879, allocations: 0 / 0.8568 GB, free: 21.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.5879, allocations: 0 / 0.8568 GB, free: 21.52 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001008/0.5889, allocations: 497.9 kB / 0.8573 GB, free: 21.12 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.589, allocations: 10.03 kB / 0.8573 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.589, allocations: 28.98 kB / 0.8573 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.5893, allocations: 182.8 kB / 0.8575 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.5894, allocations: 14.02 kB / 0.8575 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.5894, allocations: 20.39 kB / 0.8576 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.5899, allocations: 189.2 kB / 0.8577 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.5899, allocations: 0 / 0.8577 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.5899, allocations: 7.031 kB / 0.8577 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.5899, allocations: 1.625 kB / 0.8577 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/0.5904, allocations: 148.2 kB / 0.8579 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009006/0.5913, allocations: 484 kB / 0.8583 GB, free: 20.54 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.5919, allocations: 172.8 kB / 0.8585 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.5921, allocations: 96.12 kB / 0.8586 GB, free: 20.44 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.5921, allocations: 5.094 kB / 0.8586 GB, free: 20.44 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003846/0.5925, allocations: 227.4 kB / 0.8588 GB, free: 20.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.5925, allocations: 0 / 0.8588 GB, free: 20.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001746/0.5942, allocations: 0.7042 MB / 0.8595 GB, free: 19.94 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.5943, allocations: 135.8 kB / 0.8596 GB, free: 19.78 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.5945, allocations: 218.8 kB / 0.8599 GB, free: 19.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.5946, allocations: 32.95 kB / 0.8599 GB, free: 19.64 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.5946, allocations: 130.7 kB / 0.86 GB, free: 19.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.5947, allocations: 70.03 kB / 0.8601 GB, free: 19.51 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.5948, allocations: 59.16 kB / 0.8601 GB, free: 19.49 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.5949, allocations: 334.6 kB / 0.8605 GB, free: 19.17 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.5952, allocations: 143.6 kB / 0.8606 GB, free: 19.1 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.5955, allocations: 229.5 kB / 0.8608 GB, free: 18.93 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.5959, allocations: 284.4 kB / 0.8611 GB, free: 18.76 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5959, allocations: 1.688 kB / 0.8611 GB, free: 18.76 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007223/0.5967, allocations: 387.5 kB / 0.8614 GB, free: 18.59 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.5967, allocations: 63.66 kB / 0.8615 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5967, allocations: 4.562 kB / 0.8615 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.5967, allocations: 4.656 kB / 0.8615 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.597, allocations: 50.86 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.597, allocations: 4.125 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.5973, allocations: 17.22 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.5973, allocations: 18.19 kB / 0.8616 GB, free: 18.51 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001892/0.5975, allocations: 173.7 kB / 0.8618 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.5975, allocations: 26.95 kB / 0.8618 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/0.5976, allocations: 32.55 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5976, allocations: 3.219 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5976, allocations: 0.875 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.5976, allocations: 4.922 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008727/0.5985, allocations: 0.5374 MB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5985, allocations: 0 / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.5987, allocations: 42.14 kB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5988, allocations: 0 / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.5988, allocations: 12.31 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5988, allocations: 5.531 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5988, allocations: 0 / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008739/0.5997, allocations: 497.9 kB / 0.8629 GB, free: 17.78 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.5997, allocations: 21.97 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.5998, allocations: 9.844 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.6, allocations: 16.27 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.6001, allocations: 19.56 kB / 0.863 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.6001, allocations: 15.41 kB / 0.863 GB, free: 17.76 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001537/0.6003, allocations: 154.1 kB / 0.8631 GB, free: 17.68 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6003, allocations: 1.75 kB / 0.8631 GB, free: 17.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004824/0.6008, allocations: 57.06 kB / 0.8632 GB, free: 17.68 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001499/0.6009, allocations: 110.9 kB / 0.8633 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007717/0.6017, allocations: 385.5 kB / 0.8636 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.6017, allocations: 2.625 kB / 0.8637 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.602, allocations: 169.8 kB / 0.8638 GB, free: 17.26 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/0.6027, allocations: 75.67 kB / 0.8639 GB, free: 17.26 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.6043, allocations: 0.6755 MB / 0.8645 GB, free: 16.95 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.6044, allocations: 131.3 kB / 0.8647 GB, free: 16.87 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.6046, allocations: 19.33 kB / 0.8647 GB, free: 16.87 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.6047, allocations: 28.12 kB / 0.8647 GB, free: 16.86 MB / 490.8 MB Notification: Performance of SimCode: time 6.21e-07/0.6047, allocations: 1.188 kB / 0.8647 GB, free: 16.86 MB / 490.8 MB Notification: Performance of Templates: time 0.01103/0.6157, allocations: 3.635 MB / 0.8683 GB, free: 16.54 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CF04_Oxacillin.Oxacillin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CF04_Oxacillin.Oxacillin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CF04_Oxacillin.Oxacillin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CF04_Oxacillin.Oxacillin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CF04_Oxacillin.Oxacillin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CF04_Oxacillin.Oxacillin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CF04_Oxacillin.Oxacillin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.844724969007075]