Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.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.001046/0.001046, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009647/0.0009647, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.936/0.936, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.7336/0.7336, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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.SebacicAcid.SebacicAcid_Favuzzi1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.337e-05/4.546e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference): time 0.002381/0.002427, allocations: 2.319 MB / 0.6996 GB, free: 8.062 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000704/0.003131, allocations: 0.6 MB / 0.7002 GB, free: 7.461 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.198e-05/0.003213, allocations: 0 / 0.7002 GB, free: 7.461 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.003315, allocations: 31.72 kB / 0.7002 GB, free: 7.43 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.003471, allocations: 87.25 kB / 0.7003 GB, free: 7.344 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.003641, allocations: 51.88 kB / 0.7004 GB, free: 7.293 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.003825, allocations: 262.6 kB / 0.7006 GB, free: 7.035 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.00394, allocations: 44.48 kB / 0.7006 GB, free: 6.996 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.004058, allocations: 139.7 kB / 0.7008 GB, free: 6.859 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.004203, allocations: 83.72 kB / 0.7009 GB, free: 6.777 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.004226, allocations: 16 kB / 0.7009 GB, free: 6.762 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.128e-05/0.004247, allocations: 16 kB / 0.7009 GB, free: 6.746 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.004271, allocations: 35.84 kB / 0.7009 GB, free: 6.711 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.004329, allocations: 83.77 kB / 0.701 GB, free: 6.629 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.004487, allocations: 203.3 kB / 0.7012 GB, free: 6.43 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004489, allocations: 0 / 0.7012 GB, free: 6.43 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.91e-07/0.00449, allocations: 0 / 0.7012 GB, free: 6.43 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004494, allocations: 0 / 0.7012 GB, free: 6.43 MB / 410.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.0005433/0.005038, allocations: 492.8 kB / 0.7017 GB, free: 5.902 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.00507, allocations: 8.031 kB / 0.7017 GB, free: 5.895 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.005112, allocations: 24.8 kB / 0.7017 GB, free: 5.871 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.005266, allocations: 182.5 kB / 0.7019 GB, free: 5.664 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.005279, allocations: 16.55 kB / 0.7019 GB, free: 5.648 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.005302, allocations: 12.38 kB / 0.7019 GB, free: 5.637 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.005513, allocations: 190.5 kB / 0.7021 GB, free: 5.438 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.005527, allocations: 7.938 kB / 0.7021 GB, free: 5.43 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.00554, allocations: 8 kB / 0.7021 GB, free: 5.422 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.005545, allocations: 4 kB / 0.7021 GB, free: 5.418 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.005724, allocations: 138.3 kB / 0.7022 GB, free: 5.277 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.006308, allocations: 485.5 kB / 0.7027 GB, free: 4.77 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.006595, allocations: 183.9 kB / 0.7029 GB, free: 4.574 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.044e-05/0.006685, allocations: 90.53 kB / 0.703 GB, free: 4.477 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.006695, allocations: 7.938 kB / 0.703 GB, free: 4.469 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.006884, allocations: 239.3 kB / 0.7032 GB, free: 4.207 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.006886, allocations: 3.938 kB / 0.7032 GB, free: 4.203 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0007989/0.007684, allocations: 0.7041 MB / 0.7039 GB, free: 3.434 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.007715, allocations: 132.5 kB / 0.704 GB, free: 3.273 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.007829, allocations: 219 kB / 0.7042 GB, free: 3.051 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.00784, allocations: 37.7 kB / 0.7043 GB, free: 3.008 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.007892, allocations: 132.5 kB / 0.7044 GB, free: 2.875 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.007921, allocations: 63.44 kB / 0.7044 GB, free: 2.812 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.00797, allocations: 57.69 kB / 0.7045 GB, free: 2.75 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.008005, allocations: 330.8 kB / 0.7048 GB, free: 2.418 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.008125, allocations: 145 kB / 0.705 GB, free: 2.258 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.008247, allocations: 221.3 kB / 0.7052 GB, free: 1.996 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.008452, allocations: 286.2 kB / 0.7054 GB, free: 1.676 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.008453, allocations: 0 / 0.7054 GB, free: 1.676 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002968/0.00875, allocations: 396 kB / 0.7058 GB, free: 1.258 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.008774, allocations: 59.41 kB / 0.7059 GB, free: 1.188 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.008778, allocations: 4 kB / 0.7059 GB, free: 1.184 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.00879, allocations: 4 kB / 0.7059 GB, free: 1.18 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.008914, allocations: 51.84 kB / 0.7059 GB, free: 1.129 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.00892, allocations: 7.984 kB / 0.7059 GB, free: 1.121 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.724e-05/0.009007, allocations: 15.98 kB / 0.706 GB, free: 1.105 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.00902, allocations: 12.16 kB / 0.706 GB, free: 1.094 MB / 410.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.0001101/0.00913, allocations: 182.8 kB / 0.7061 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.009147, allocations: 23.89 kB / 0.7062 GB, free: 0.8789 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.009173, allocations: 21.97 kB / 0.7062 GB, free: 0.8555 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.009177, allocations: 4 kB / 0.7062 GB, free: 0.8516 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.009181, allocations: 11.86 kB / 0.7062 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.009185, allocations: 0 / 0.7062 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.009571, allocations: 0.5406 MB / 0.7067 GB, free: 256 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.009572, allocations: 0 / 0.7067 GB, free: 256 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.394e-05/0.009666, allocations: 35.97 kB / 0.7068 GB, free: 220 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.009668, allocations: 0 / 0.7068 GB, free: 220 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.009679, allocations: 8 kB / 0.7068 GB, free: 212 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.009681, allocations: 0 / 0.7068 GB, free: 212 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009682, allocations: 0 / 0.7068 GB, free: 212 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.01011, allocations: 0.4986 MB / 0.7073 GB, free: 15.68 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.01013, allocations: 23.86 kB / 0.7073 GB, free: 15.66 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.01016, allocations: 8.031 kB / 0.7073 GB, free: 15.65 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.01024, allocations: 19.98 kB / 0.7073 GB, free: 15.63 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.0103, allocations: 19.97 kB / 0.7073 GB, free: 15.61 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.01031, allocations: 11.94 kB / 0.7073 GB, free: 15.6 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.099e-05/0.0104, allocations: 156.4 kB / 0.7075 GB, free: 15.45 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0104, allocations: 0 / 0.7075 GB, free: 15.45 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001904/0.01059, allocations: 60 kB / 0.7075 GB, free: 15.39 MB / 426.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 8.406e-05/0.01068, allocations: 118.5 kB / 0.7077 GB, free: 15.27 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.01103, allocations: 375.7 kB / 0.708 GB, free: 14.86 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01103, allocations: 0 / 0.708 GB, free: 14.86 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.01117, allocations: 173 kB / 0.7082 GB, free: 14.67 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.01144, allocations: 64.33 kB / 0.7082 GB, free: 14.61 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007166/0.01216, allocations: 0.5993 MB / 0.7088 GB, free: 13.97 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.251e-05/0.01223, allocations: 133.5 kB / 0.7089 GB, free: 13.82 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.01228, allocations: 20.5 kB / 0.709 GB, free: 13.8 MB / 426.8 MB Notification: Performance of SimCode: time 6.12e-07/0.01228, allocations: 0 / 0.709 GB, free: 13.8 MB / 426.8 MB Notification: Performance of Templates: time 0.003121/0.0154, allocations: 2.935 MB / 0.7118 GB, free: 10.89 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.434943857602775]