Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.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.0009452/0.0009452, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001023/0.001023, allocations: 169 kB / 23.02 MB, free: 1.547 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.9498/0.9498, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.597/1.597, allocations: 273.5 MB / 0.5209 GB, free: 14.79 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver,tolerance=1e-06,outputFormat="empty",numberOfIntervals=495,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver") translateModel(Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver,tolerance=1e-06,outputFormat="empty",numberOfIntervals=495,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 3.328 kB / 0.647 GB, free: 38.74 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.597e-05, allocations: 5.219 kB / 0.647 GB, free: 38.73 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver): time 0.004222/0.004238, allocations: 4.111 MB / 0.651 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.005717, allocations: 0.9573 MB / 0.6519 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.005875, allocations: 7.75 kB / 0.6519 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.006112, allocations: 75.98 kB / 0.652 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005314/0.006644, allocations: 223.8 kB / 0.6522 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.006991, allocations: 153.5 kB / 0.6524 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0005877/0.007579, allocations: 0.7115 MB / 0.653 GB, free: 34.79 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005954/0.008174, allocations: 0.4977 MB / 0.6535 GB, free: 34.5 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005704/0.008745, allocations: 494 kB / 0.654 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005316/0.009276, allocations: 353.2 kB / 0.6543 GB, free: 34.2 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.009417, allocations: 76.47 kB / 0.6544 GB, free: 34.2 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.009638, allocations: 77.56 kB / 0.6545 GB, free: 34.2 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.009837, allocations: 181.5 kB / 0.6547 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004097/0.01025, allocations: 266.8 kB / 0.6549 GB, free: 33.97 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006848/0.01093, allocations: 0.5332 MB / 0.6554 GB, free: 33.71 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01094, allocations: 0 / 0.6554 GB, free: 33.71 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.11e-07/0.01094, allocations: 4.438 kB / 0.6554 GB, free: 33.71 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.01095, allocations: 0 / 0.6554 GB, free: 33.71 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.00133/0.01227, allocations: 0.8815 MB / 0.6563 GB, free: 33.06 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.01232, allocations: 11.12 kB / 0.6563 GB, free: 33.06 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.0125, allocations: 98 kB / 0.6564 GB, free: 33.01 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.01299, allocations: 311.6 kB / 0.6567 GB, free: 32.77 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.01303, allocations: 38.34 kB / 0.6567 GB, free: 32.76 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.01314, allocations: 50.16 kB / 0.6568 GB, free: 32.74 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009194/0.01406, allocations: 0.6246 MB / 0.6574 GB, free: 32.45 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.01408, allocations: 9.266 kB / 0.6574 GB, free: 32.44 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/0.01414, allocations: 21.62 kB / 0.6574 GB, free: 32.42 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.785e-05/0.01418, allocations: 23.73 kB / 0.6574 GB, free: 32.42 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006487/0.01483, allocations: 314 kB / 0.6577 GB, free: 32.38 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.0171, allocations: 1.384 MB / 0.6591 GB, free: 31.53 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/0.01764, allocations: 240.3 kB / 0.6593 GB, free: 31.46 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.0179, allocations: 116.8 kB / 0.6594 GB, free: 31.43 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.01794, allocations: 12.52 kB / 0.6595 GB, free: 31.43 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/0.01835, allocations: 260.4 kB / 0.6597 GB, free: 31.31 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005814/0.01893, allocations: 161 kB / 0.6599 GB, free: 31.27 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=46): time 2.545e-06/0.01893, allocations: 1.688 kB / 0.6599 GB, free: 31.27 MB / 0.5262 GB Notification: Performance of matching and sorting (n=46): time 0.00102/0.01995, allocations: 432.7 kB / 0.6603 GB, free: 31.16 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.01999, allocations: 61 kB / 0.6603 GB, free: 31.09 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.02024, allocations: 300 kB / 0.6606 GB, free: 30.89 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.02028, allocations: 36.48 kB / 0.6606 GB, free: 30.85 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.02042, allocations: 288.1 kB / 0.6609 GB, free: 30.61 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.02056, allocations: 176.6 kB / 0.6611 GB, free: 30.46 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.02074, allocations: 122.9 kB / 0.6612 GB, free: 30.41 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.02084, allocations: 0.5145 MB / 0.6617 GB, free: 29.9 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.02116, allocations: 180.8 kB / 0.6619 GB, free: 29.83 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.02154, allocations: 351.5 kB / 0.6622 GB, free: 29.54 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006647/0.02221, allocations: 473.5 kB / 0.6627 GB, free: 29.22 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.02221, allocations: 1.438 kB / 0.6627 GB, free: 29.22 MB / 0.5262 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001018/0.02323, allocations: 0.5718 MB / 0.6632 GB, free: 28.99 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.02327, allocations: 36.44 kB / 0.6633 GB, free: 28.96 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.02328, allocations: 7.438 kB / 0.6633 GB, free: 28.96 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.02331, allocations: 7.188 kB / 0.6633 GB, free: 28.96 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/0.0239, allocations: 166.8 kB / 0.6634 GB, free: 28.95 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/0.02392, allocations: 11.03 kB / 0.6634 GB, free: 28.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.02421, allocations: 21.47 kB / 0.6635 GB, free: 28.94 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.02428, allocations: 40.5 kB / 0.6635 GB, free: 28.93 MB / 0.5262 GB Warning: Assuming fixed start value for the following 8 variables: singleDose1.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real singleDose1.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real artery.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real gut.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real vein.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real spleen.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real liver.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real lungs.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (singleDose1.pulse.count,$PRE.singleDose1.pulse.count,singleDose1.pulse.T_start,$PRE.singleDose1.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * 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.0002593/0.02454, allocations: 205.9 kB / 0.6637 GB, free: 28.74 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.02464, allocations: 51.72 kB / 0.6638 GB, free: 28.71 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007996/0.02544, allocations: 414.1 kB / 0.6641 GB, free: 28.56 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.02544, allocations: 9.5 kB / 0.6642 GB, free: 28.56 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.02545, allocations: 0 / 0.6642 GB, free: 28.56 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.02546, allocations: 2.906 kB / 0.6642 GB, free: 28.56 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.02646, allocations: 0.7283 MB / 0.6649 GB, free: 28.11 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02646, allocations: 1.375 kB / 0.6649 GB, free: 28.11 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.02687, allocations: 82.73 kB / 0.6649 GB, free: 28.11 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.02687, allocations: 2.844 kB / 0.665 GB, free: 28.11 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.02692, allocations: 19.55 kB / 0.665 GB, free: 28.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.02692, allocations: 2.75 kB / 0.665 GB, free: 28.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.02692, allocations: 3.938 kB / 0.665 GB, free: 28.09 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/0.02784, allocations: 0.5945 MB / 0.6656 GB, free: 27.78 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.02789, allocations: 35.36 kB / 0.6656 GB, free: 27.75 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.02796, allocations: 19.48 kB / 0.6656 GB, free: 27.74 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.0282, allocations: 11.09 kB / 0.6656 GB, free: 27.74 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.02828, allocations: 31.67 kB / 0.6657 GB, free: 27.73 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.02832, allocations: 19.09 kB / 0.6657 GB, free: 27.73 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0001579/0.02848, allocations: 222.1 kB / 0.6659 GB, free: 27.59 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02848, allocations: 0 / 0.6659 GB, free: 27.59 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0005035/0.02898, allocations: 167.4 kB / 0.666 GB, free: 27.56 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 14 (singleDose1.TotalCumulativeMass,singleDose1.variableDose.TotalCumulativeMass,artery.M,artery.AUC,gut.M,gut.AUC,vein.M,vein.AUC,spleen.M,spleen.AUC,liver.M,liver.AUC,lungs.M,lungs.AUC) * Number of discrete variables: 3 ($whenCondition1,singleDose1.pulse.T_start,singleDose1.pulse.count) * Number of discrete states: 1 (singleDose1.pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * 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.0001307/0.02911, allocations: 118.9 kB / 0.6662 GB, free: 27.45 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0007374/0.02985, allocations: 424.7 kB / 0.6666 GB, free: 27.29 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02985, allocations: 0 / 0.6666 GB, free: 27.29 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.03013, allocations: 153.5 kB / 0.6667 GB, free: 27.25 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/0.03081, allocations: 140.5 kB / 0.6668 GB, free: 27.2 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.03353, allocations: 1.324 MB / 0.6681 GB, free: 26.38 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.542e-05/0.03362, allocations: 125.2 kB / 0.6683 GB, free: 26.3 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.03386, allocations: 70.06 kB / 0.6683 GB, free: 26.29 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.03408, allocations: 57.47 kB / 0.6684 GB, free: 26.29 MB / 0.5262 GB Notification: Performance of SimCode: time 8.71e-07/0.03408, allocations: 0 / 0.6684 GB, free: 26.29 MB / 0.5262 GB Notification: Performance of Templates: time 0.01028/0.04436, allocations: 7.928 MB / 0.6761 GB, free: 24.4 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.939384949859232]