Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_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.001862/0.001862, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.002052/0.002052, allocations: 169.9 kB / 22.46 MB, free: 2.098 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 1.631/1.631, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] 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 1.366/1.366, allocations: 292.9 MB / 0.5392 GB, free: 50.15 MB / 410.7 MB " [Timeout remaining time 178] 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.TetraethylLead.TetraethylLead_Wells1975_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.6999 GB, free: 8.523 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.423e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.516 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference): time 0.002361/0.002395, allocations: 1.818 MB / 0.7017 GB, free: 6.68 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008586/0.003253, allocations: 0.5496 MB / 0.7022 GB, free: 6.125 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.003309, allocations: 0 / 0.7022 GB, free: 6.125 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.003411, allocations: 11.86 kB / 0.7022 GB, free: 6.113 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.003774, allocations: 71.53 kB / 0.7023 GB, free: 6.043 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.00394, allocations: 67.77 kB / 0.7024 GB, free: 5.977 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.004135, allocations: 167.2 kB / 0.7025 GB, free: 5.812 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.00418, allocations: 5.312 kB / 0.7025 GB, free: 5.809 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.004303, allocations: 91.78 kB / 0.7026 GB, free: 5.719 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.004538, allocations: 75.81 kB / 0.7027 GB, free: 5.645 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.004566, allocations: 12 kB / 0.7027 GB, free: 5.633 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.449e-05/0.004591, allocations: 8 kB / 0.7027 GB, free: 5.625 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.004651, allocations: 31.84 kB / 0.7027 GB, free: 5.594 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.004708, allocations: 39.91 kB / 0.7028 GB, free: 5.555 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.004846, allocations: 103.7 kB / 0.7029 GB, free: 5.453 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.004849, allocations: 4 kB / 0.7029 GB, free: 5.449 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.01e-07/0.00485, allocations: 0 / 0.7029 GB, free: 5.449 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004854, allocations: 0 / 0.7029 GB, free: 5.449 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007424/0.005596, allocations: 395.5 kB / 0.7032 GB, free: 5.027 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.005629, allocations: 8.031 kB / 0.7033 GB, free: 5.02 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.005682, allocations: 16.84 kB / 0.7033 GB, free: 5.004 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.005847, allocations: 146.1 kB / 0.7034 GB, free: 4.836 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.005865, allocations: 8.375 kB / 0.7034 GB, free: 4.828 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.005898, allocations: 8.375 kB / 0.7034 GB, free: 4.82 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.00614, allocations: 100.9 kB / 0.7035 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.00615, allocations: 7.875 kB / 0.7035 GB, free: 4.711 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.006164, allocations: 3.938 kB / 0.7035 GB, free: 4.707 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.006169, allocations: 8 kB / 0.7035 GB, free: 4.699 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.006443, allocations: 79.92 kB / 0.7036 GB, free: 4.621 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.006874, allocations: 288.3 kB / 0.7039 GB, free: 4.309 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.007225, allocations: 130.4 kB / 0.704 GB, free: 4.172 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.00737, allocations: 52.81 kB / 0.7041 GB, free: 4.117 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.007397, allocations: 4 kB / 0.7041 GB, free: 4.113 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.007643, allocations: 111.3 kB / 0.7042 GB, free: 3.992 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.007644, allocations: 0 / 0.7042 GB, free: 3.992 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005513/0.008195, allocations: 197.6 kB / 0.7044 GB, free: 3.793 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.008232, allocations: 55.41 kB / 0.7044 GB, free: 3.727 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.008382, allocations: 161 kB / 0.7046 GB, free: 3.562 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.008405, allocations: 25.7 kB / 0.7046 GB, free: 3.531 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.008464, allocations: 108.1 kB / 0.7047 GB, free: 3.422 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.008494, allocations: 39.66 kB / 0.7047 GB, free: 3.383 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.008565, allocations: 41.69 kB / 0.7048 GB, free: 3.336 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.008672, allocations: 322.8 kB / 0.7051 GB, free: 3.012 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.008868, allocations: 81.66 kB / 0.7052 GB, free: 2.926 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.009109, allocations: 200.1 kB / 0.7054 GB, free: 2.695 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.009414, allocations: 148.5 kB / 0.7055 GB, free: 2.543 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.009416, allocations: 3.938 kB / 0.7055 GB, free: 2.539 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004185/0.009835, allocations: 244.8 kB / 0.7057 GB, free: 2.281 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.009869, allocations: 29.7 kB / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.009875, allocations: 0 / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.0099, allocations: 4 kB / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.01008, allocations: 27.92 kB / 0.7058 GB, free: 2.215 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01009, allocations: 0 / 0.7058 GB, free: 2.215 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.01028, allocations: 19.92 kB / 0.7058 GB, free: 2.195 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.0103, allocations: 8.25 kB / 0.7058 GB, free: 2.188 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0001284/0.01042, allocations: 135 kB / 0.7059 GB, free: 2.047 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.01045, allocations: 15.84 kB / 0.706 GB, free: 2.031 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004258/0.01087, allocations: 173.9 kB / 0.7061 GB, free: 1.863 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.01088, allocations: 4 kB / 0.7061 GB, free: 1.859 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01088, allocations: 0 / 0.7061 GB, free: 1.859 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.01089, allocations: 0 / 0.7061 GB, free: 1.859 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.01102, allocations: 153.2 kB / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01102, allocations: 3.938 kB / 0.7063 GB, free: 1.676 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.01118, allocations: 23.98 kB / 0.7063 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01118, allocations: 7.938 kB / 0.7063 GB, free: 1.645 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.0112, allocations: 4 kB / 0.7063 GB, free: 1.641 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.0112, allocations: 0 / 0.7063 GB, free: 1.641 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0112, allocations: 0 / 0.7063 GB, free: 1.641 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.01175, allocations: 254.4 kB / 0.7066 GB, free: 1.375 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.01177, allocations: 23.81 kB / 0.7066 GB, free: 1.352 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.0118, allocations: 0 / 0.7066 GB, free: 1.352 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.01193, allocations: 20.05 kB / 0.7066 GB, free: 1.332 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.01201, allocations: 11.97 kB / 0.7066 GB, free: 1.32 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.01202, allocations: 8 kB / 0.7066 GB, free: 1.312 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.797e-05/0.0121, allocations: 127.1 kB / 0.7067 GB, free: 1.188 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0121, allocations: 0 / 0.7067 GB, free: 1.188 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002247/0.01232, allocations: 32 kB / 0.7068 GB, free: 1.156 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.0001294/0.01245, allocations: 95.25 kB / 0.7069 GB, free: 1.051 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.01286, allocations: 220.9 kB / 0.7071 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01286, allocations: 0 / 0.7071 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.01304, allocations: 59.89 kB / 0.7071 GB, free: 0.7578 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.01344, allocations: 46.55 kB / 0.7072 GB, free: 0.7148 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.01412, allocations: 313.4 kB / 0.7075 GB, free: 392 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.188e-05/0.01417, allocations: 93.81 kB / 0.7076 GB, free: 280 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.611e-05/0.01426, allocations: 29.47 kB / 0.7076 GB, free: 248 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.01431, allocations: 16.5 kB / 0.7076 GB, free: 232 kB / 410.8 MB Notification: Performance of SimCode: time 6.81e-07/0.01431, allocations: 0 / 0.7076 GB, free: 232 kB / 410.8 MB Notification: Performance of Templates: time 0.007417/0.02173, allocations: 2.49 MB / 0.71 GB, free: 13.84 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.738156193867326]