Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.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.001005/0.001005, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.00239, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.001053/0.001053, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002406, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9601/0.9601, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09729/1.057, allocations: 53.67 MB / 243.3 MB, free: 15.57 MB / 250.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.7152/0.7152, allocations: 291.2 MB / 0.5226 GB, free: 52.49 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03566/0.7508, allocations: 21.05 MB / 0.5432 GB, free: 31.5 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.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5446 GB, free: 30.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.969e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI): time 0.003363/0.003383, allocations: 2.499 MB / 0.547 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009861/0.004369, allocations: 0.6304 MB / 0.5476 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.644e-05/0.004465, allocations: 4 kB / 0.5476 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.464e-05/0.00454, allocations: 27.66 kB / 0.5476 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.004712, allocations: 83.33 kB / 0.5477 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.004865, allocations: 63.73 kB / 0.5478 GB, free: 26.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.005123, allocations: 262.6 kB / 0.548 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.005249, allocations: 38.55 kB / 0.5481 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.00547, allocations: 168.3 kB / 0.5482 GB, free: 26.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.005646, allocations: 87.72 kB / 0.5483 GB, free: 26.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.005677, allocations: 16 kB / 0.5483 GB, free: 26.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.061e-05/0.005708, allocations: 20 kB / 0.5484 GB, free: 26.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.005739, allocations: 31.86 kB / 0.5484 GB, free: 26.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.005811, allocations: 59.88 kB / 0.5484 GB, free: 26.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.006008, allocations: 143.5 kB / 0.5486 GB, free: 25.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.006019, allocations: 0 / 0.5486 GB, free: 25.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00602, allocations: 4 kB / 0.5486 GB, free: 25.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.006034, allocations: 0 / 0.5486 GB, free: 25.98 MB / 410.7 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.000649/0.006683, allocations: 0.4898 MB / 0.5491 GB, free: 25.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.006718, allocations: 11.89 kB / 0.5491 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.006774, allocations: 28.91 kB / 0.5491 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.006954, allocations: 183 kB / 0.5493 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.006974, allocations: 12.61 kB / 0.5493 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.007006, allocations: 12.38 kB / 0.5493 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.007209, allocations: 163.4 kB / 0.5495 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.007222, allocations: 0 / 0.5495 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.007237, allocations: 8 kB / 0.5495 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.007243, allocations: 0 / 0.5495 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.881e-05/0.007342, allocations: 80.58 kB / 0.5495 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.007816, allocations: 369 kB / 0.5499 GB, free: 24.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.008016, allocations: 108.1 kB / 0.55 GB, free: 24.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.008067, allocations: 54.55 kB / 0.55 GB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.008077, allocations: 4 kB / 0.55 GB, free: 24.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.008241, allocations: 198.2 kB / 0.5502 GB, free: 24.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/0.008243, allocations: 0 / 0.5502 GB, free: 24.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000676/0.008919, allocations: 0.5133 MB / 0.5507 GB, free: 23.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.008951, allocations: 170.2 kB / 0.5509 GB, free: 23.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.009064, allocations: 198 kB / 0.5511 GB, free: 23.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.00908, allocations: 33.7 kB / 0.5511 GB, free: 23.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.009118, allocations: 120.4 kB / 0.5512 GB, free: 22.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.009163, allocations: 71.45 kB / 0.5513 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.009226, allocations: 51.19 kB / 0.5514 GB, free: 22.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.009267, allocations: 338.8 kB / 0.5517 GB, free: 22.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.615e-05/0.009333, allocations: 97 kB / 0.5518 GB, free: 22.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.472e-05/0.009418, allocations: 173.3 kB / 0.5519 GB, free: 22.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.009553, allocations: 210.2 kB / 0.5521 GB, free: 21.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.009555, allocations: 4 kB / 0.5521 GB, free: 21.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002089/0.009764, allocations: 260.4 kB / 0.5524 GB, free: 21.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.009801, allocations: 67.39 kB / 0.5525 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.009806, allocations: 4 kB / 0.5525 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.009819, allocations: 0 / 0.5525 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.01003, allocations: 71.88 kB / 0.5525 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01003, allocations: 7.938 kB / 0.5525 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.01015, allocations: 15.98 kB / 0.5525 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.01017, allocations: 15.88 kB / 0.5526 GB, free: 21.46 MB / 410.7 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.0001201/0.01029, allocations: 173.3 kB / 0.5527 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.01032, allocations: 19.98 kB / 0.5527 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.01035, allocations: 25.95 kB / 0.5528 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01036, allocations: 0 / 0.5528 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01036, allocations: 0 / 0.5528 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.01039, allocations: 19.86 kB / 0.5528 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.0104, allocations: 7.938 kB / 0.5528 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.01043, allocations: 11.98 kB / 0.5528 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.01052, allocations: 12 kB / 0.5528 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.01057, allocations: 19.95 kB / 0.5528 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002555/0.01083, allocations: 271 kB / 0.5531 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002448/0.01107, allocations: 424.3 kB / 0.5535 GB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.959e-05/0.01114, allocations: 74.53 kB / 0.5536 GB, free: 20.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.812e-05/0.0112, allocations: 69.94 kB / 0.5536 GB, free: 20.28 MB / 410.7 MB Notification: Performance of Backend: time 1.6e-07/0.0112, allocations: 0 / 0.5536 GB, free: 20.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003454/0.01155, allocations: 360.1 kB / 0.554 GB, free: 19.89 MB / 410.7 MB Notification: Performance of SimCode: time 0.00857/0.02012, allocations: 1.105 MB / 0.5551 GB, free: 18.73 MB / 410.7 MB Notification: Performance of Templates: time 0.005323/0.02544, allocations: 3.874 MB / 0.5588 GB, free: 15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2925092866644263]