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.00095/0.00095, allocations: 104.3 kB / 19.71 MB, free: 440 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.0009151/0.0009151, allocations: 221.8 kB / 23.01 MB, free: 2.941 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.012/1.012, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.7394/0.7394, allocations: 312.3 MB / 0.6108 GB, free: 97.46 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: 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.001808/0.001808, allocations: 77.38 kB / 0.7699 GB, free: 20.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1482, allocations: 74 MB / 0.8422 GB, free: 10.24 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite): time 0.003337/0.1516, allocations: 3.051 MB / 0.8452 GB, free: 7.188 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.1525, allocations: 0.6951 MB / 0.8458 GB, free: 6.5 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1527, allocations: 4.5 kB / 0.8458 GB, free: 6.496 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.1528, allocations: 36.3 kB / 0.8459 GB, free: 6.461 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.153, allocations: 124.3 kB / 0.846 GB, free: 6.34 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.1533, allocations: 88.47 kB / 0.8461 GB, free: 6.254 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.1536, allocations: 418.7 kB / 0.8465 GB, free: 5.844 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1538, allocations: 57.62 kB / 0.8465 GB, free: 5.785 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.1539, allocations: 152 kB / 0.8467 GB, free: 5.637 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.1541, allocations: 147.9 kB / 0.8468 GB, free: 5.492 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.1542, allocations: 33.06 kB / 0.8468 GB, free: 5.461 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.737e-05/0.1542, allocations: 32 kB / 0.8469 GB, free: 5.43 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.1542, allocations: 67.7 kB / 0.8469 GB, free: 5.363 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1544, allocations: 148 kB / 0.8471 GB, free: 5.219 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.1546, allocations: 350.7 kB / 0.8474 GB, free: 4.875 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1547, allocations: 4.625 kB / 0.8474 GB, free: 4.871 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1547, allocations: 0.625 kB / 0.8474 GB, free: 4.871 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1547, allocations: 0 / 0.8474 GB, free: 4.871 MB / 474.8 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.0008648/0.1555, allocations: 0.6092 MB / 0.848 GB, free: 4.215 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1556, allocations: 12.39 kB / 0.848 GB, free: 4.203 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.1556, allocations: 37.27 kB / 0.8481 GB, free: 4.168 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.1559, allocations: 225 kB / 0.8483 GB, free: 3.922 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1559, allocations: 13.41 kB / 0.8483 GB, free: 3.91 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.156, allocations: 40.48 kB / 0.8483 GB, free: 3.871 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.1564, allocations: 305.8 kB / 0.8486 GB, free: 3.547 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1564, allocations: 4 kB / 0.8486 GB, free: 3.543 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.1564, allocations: 8.656 kB / 0.8486 GB, free: 3.535 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.1564, allocations: 8 kB / 0.8486 GB, free: 3.527 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.157, allocations: 241.7 kB / 0.8489 GB, free: 3.277 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008729/0.1579, allocations: 0.6559 MB / 0.8495 GB, free: 2.59 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.1583, allocations: 263.8 kB / 0.8498 GB, free: 2.312 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.1585, allocations: 165.1 kB / 0.8499 GB, free: 2.137 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.1585, allocations: 4.656 kB / 0.8499 GB, free: 2.133 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/0.1589, allocations: 371.4 kB / 0.8503 GB, free: 1.723 MB / 474.8 MB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.1589, allocations: 0 / 0.8503 GB, free: 1.723 MB / 474.8 MB Notification: Performance of matching and sorting (n=35): time 0.001363/0.1602, allocations: 1.127 MB / 0.8514 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.1603, allocations: 221.6 kB / 0.8516 GB, free: 244 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.1605, allocations: 254.5 kB / 0.8518 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.1605, allocations: 38.27 kB / 0.8519 GB, free: 15.94 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.424e-05/0.1606, allocations: 156.8 kB / 0.852 GB, free: 15.78 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.1607, allocations: 123.7 kB / 0.8521 GB, free: 15.66 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.1608, allocations: 74.06 kB / 0.8522 GB, free: 15.58 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.1609, allocations: 347.4 kB / 0.8525 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.1611, allocations: 220.4 kB / 0.8528 GB, free: 15 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.1613, allocations: 318.9 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.1617, allocations: 459.2 kB / 0.8535 GB, free: 14.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1617, allocations: 0.5938 kB / 0.8535 GB, free: 14.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005279/0.1622, allocations: 0.5838 MB / 0.8541 GB, free: 13.49 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.1623, allocations: 89.69 kB / 0.8541 GB, free: 13.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1623, allocations: 4 kB / 0.8542 GB, free: 13.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1623, allocations: 4.5 kB / 0.8542 GB, free: 13.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.1625, allocations: 84.42 kB / 0.8542 GB, free: 13.29 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1625, allocations: 8.562 kB / 0.8542 GB, free: 13.29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1626, allocations: 32.5 kB / 0.8543 GB, free: 13.25 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.1626, allocations: 12.66 kB / 0.8543 GB, free: 13.24 MB / 490.8 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.000208/0.1628, allocations: 232.1 kB / 0.8545 GB, free: 13 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.1629, allocations: 32.5 kB / 0.8545 GB, free: 12.97 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.1629, allocations: 34.95 kB / 0.8546 GB, free: 12.94 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1629, allocations: 4.594 kB / 0.8546 GB, free: 12.93 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1629, allocations: 3.984 kB / 0.8546 GB, free: 12.93 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.1629, allocations: 8.609 kB / 0.8546 GB, free: 12.92 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007492/0.1637, allocations: 0.8027 MB / 0.8554 GB, free: 12.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1637, allocations: 0.7188 kB / 0.8554 GB, free: 12.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1638, allocations: 56.53 kB / 0.8554 GB, free: 12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1638, allocations: 4.625 kB / 0.8554 GB, free: 12 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.1639, allocations: 11.98 kB / 0.8554 GB, free: 11.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1639, allocations: 4.438 kB / 0.8555 GB, free: 11.98 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1639, allocations: 0.625 kB / 0.8555 GB, free: 11.98 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2898/0.4536, allocations: 0.7675 MB / 0.8562 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.4538, allocations: 52.44 kB / 0.8563 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.4538, allocations: 18.47 kB / 0.8563 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.454, allocations: 22.94 kB / 0.8563 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.4541, allocations: 29.52 kB / 0.8563 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.4541, allocations: 11.7 kB / 0.8563 GB, free: 29.45 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001482/0.4542, allocations: 188.9 kB / 0.8565 GB, free: 29.37 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4542, allocations: 0 / 0.8565 GB, free: 29.37 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003121/0.4545, allocations: 86.81 kB / 0.8566 GB, free: 29.37 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.0001245/0.4547, allocations: 121.9 kB / 0.8567 GB, free: 29.28 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005413/0.4552, allocations: 0.5877 MB / 0.8573 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4552, allocations: 0 / 0.8573 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.4554, allocations: 323.8 kB / 0.8576 GB, free: 28.75 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.4558, allocations: 84.5 kB / 0.8577 GB, free: 28.75 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.4572, allocations: 1.07 MB / 0.8587 GB, free: 28.28 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.4573, allocations: 165 kB / 0.8589 GB, free: 28.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.4573, allocations: 31.2 kB / 0.8589 GB, free: 28.2 MB / 490.8 MB Notification: Performance of SimCode: time 1.052e-06/0.4573, allocations: 0 / 0.8589 GB, free: 28.2 MB / 490.8 MB Notification: Performance of Templates: time 0.006286/0.4636, allocations: 4.345 MB / 0.8631 GB, free: 27.8 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.383881405927241]