Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.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.000728/0.000728, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009086/0.001637, 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.0007085/0.0007085, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008936/0.001602, 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.9629/0.9629, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08624/1.049, allocations: 53.66 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.722/0.722, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03129/0.7533, allocations: 21.04 MB / 0.5432 GB, free: 31.95 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.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.5446 GB, free: 30.51 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.661e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.51 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite): time 0.003053/0.00307, allocations: 3.352 MB / 0.5479 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000959/0.004029, allocations: 0.7284 MB / 0.5486 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.004138, allocations: 4 kB / 0.5486 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.947e-05/0.004217, allocations: 51.5 kB / 0.5487 GB, free: 26.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.004407, allocations: 123 kB / 0.5488 GB, free: 26.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.004566, allocations: 83.83 kB / 0.5488 GB, free: 26.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.004874, allocations: 433.8 kB / 0.5493 GB, free: 25.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.005014, allocations: 79.36 kB / 0.5493 GB, free: 25.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.005263, allocations: 266.5 kB / 0.5496 GB, free: 25.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.005447, allocations: 131.6 kB / 0.5497 GB, free: 25.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.005485, allocations: 28 kB / 0.5497 GB, free: 25.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.782e-05/0.005522, allocations: 32 kB / 0.5498 GB, free: 25.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.77e-05/0.00556, allocations: 47.81 kB / 0.5498 GB, free: 25.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.579e-05/0.005656, allocations: 103.8 kB / 0.5499 GB, free: 25.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.005884, allocations: 219.2 kB / 0.5501 GB, free: 24.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.391e-05/0.005898, allocations: 4 kB / 0.5501 GB, free: 24.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005899, allocations: 0 / 0.5501 GB, free: 24.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.005915, allocations: 4 kB / 0.5501 GB, free: 24.83 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007041/0.006619, allocations: 0.6434 MB / 0.5508 GB, free: 24.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.006651, allocations: 8.031 kB / 0.5508 GB, free: 24.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.006715, allocations: 36.91 kB / 0.5508 GB, free: 24.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.00691, allocations: 201.5 kB / 0.551 GB, free: 23.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.006934, allocations: 16.88 kB / 0.551 GB, free: 23.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.006971, allocations: 32.31 kB / 0.551 GB, free: 23.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.007208, allocations: 250.1 kB / 0.5513 GB, free: 23.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.007223, allocations: 0 / 0.5513 GB, free: 23.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.007239, allocations: 8 kB / 0.5513 GB, free: 23.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.007247, allocations: 4 kB / 0.5513 GB, free: 23.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.007376, allocations: 138.6 kB / 0.5514 GB, free: 23.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.007944, allocations: 477.9 kB / 0.5519 GB, free: 22.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.008167, allocations: 179 kB / 0.5521 GB, free: 22.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/0.008234, allocations: 108.5 kB / 0.5522 GB, free: 22.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.008246, allocations: 7.938 kB / 0.5522 GB, free: 22.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.008444, allocations: 323.4 kB / 0.5525 GB, free: 22.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.008446, allocations: 0 / 0.5525 GB, free: 22.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008334/0.009279, allocations: 0.8384 MB / 0.5533 GB, free: 21.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.009324, allocations: 281 kB / 0.5536 GB, free: 20.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.009446, allocations: 229 kB / 0.5538 GB, free: 20.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.009464, allocations: 37.7 kB / 0.5538 GB, free: 20.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.009505, allocations: 133.3 kB / 0.5539 GB, free: 20.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.009563, allocations: 123 kB / 0.5541 GB, free: 20.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.009638, allocations: 78.11 kB / 0.5541 GB, free: 20.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.048e-05/0.009679, allocations: 342.8 kB / 0.5545 GB, free: 20 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.009764, allocations: 143.9 kB / 0.5546 GB, free: 19.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.009883, allocations: 262.9 kB / 0.5548 GB, free: 19.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.01007, allocations: 334.2 kB / 0.5552 GB, free: 19.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01007, allocations: 8.031 kB / 0.5552 GB, free: 19.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002615/0.01033, allocations: 388.5 kB / 0.5555 GB, free: 18.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.01037, allocations: 93.09 kB / 0.5556 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01037, allocations: 7.312 kB / 0.5556 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.01039, allocations: 4.344 kB / 0.5556 GB, free: 18.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.01065, allocations: 111.8 kB / 0.5558 GB, free: 18.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.01066, allocations: 7.984 kB / 0.5558 GB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.01079, allocations: 16 kB / 0.5558 GB, free: 18.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.01081, allocations: 12 kB / 0.5558 GB, free: 18.44 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$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 (50): * Single equations (assignments): 47 * 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.0001315/0.01094, allocations: 223.7 kB / 0.556 GB, free: 18.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.01098, allocations: 31.97 kB / 0.556 GB, free: 18.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.01102, allocations: 34.95 kB / 0.5561 GB, free: 18.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01102, allocations: 0 / 0.5561 GB, free: 18.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01102, allocations: 3.938 kB / 0.5561 GB, free: 18.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.01109, allocations: 31.8 kB / 0.5561 GB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.01111, allocations: 8 kB / 0.5561 GB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.01115, allocations: 19.98 kB / 0.5561 GB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.01124, allocations: 15.94 kB / 0.5561 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.0113, allocations: 27.94 kB / 0.5562 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003246/0.01162, allocations: 405.5 kB / 0.5566 GB, free: 17.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003443/0.01197, allocations: 0.6014 MB / 0.5571 GB, free: 16.94 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.898e-05/0.01206, allocations: 143.9 kB / 0.5573 GB, free: 16.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.01213, allocations: 82.77 kB / 0.5574 GB, free: 16.71 MB / 410.7 MB Notification: Performance of Backend: time 1.5e-07/0.01213, allocations: 0 / 0.5574 GB, free: 16.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003937/0.01252, allocations: 488.4 kB / 0.5578 GB, free: 16.17 MB / 410.7 MB Notification: Performance of SimCode: time 0.01024/0.02276, allocations: 1.362 MB / 0.5592 GB, free: 14.73 MB / 410.7 MB Notification: Performance of Templates: time 0.2775/0.3003, allocations: 5.521 MB / 0.5645 GB, free: 82.71 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8350681718438864]