Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.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.00192/0.00192, allocations: 84.44 kB / 19.17 MB, free: 0.7422 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.002019/0.002019, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.669/1.669, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.354/1.354, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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.EthyltrimethylLead.EthyltrimethylLead,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.6999 GB, free: 8.516 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.065e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.512 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead): time 0.00276/0.00279, allocations: 1.815 MB / 0.7017 GB, free: 6.68 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009349/0.003725, allocations: 0.5576 MB / 0.7022 GB, free: 6.117 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.00379, allocations: 0 / 0.7022 GB, free: 6.117 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.83e-05/0.003889, allocations: 15.86 kB / 0.7022 GB, free: 6.102 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.004245, allocations: 63.53 kB / 0.7023 GB, free: 6.039 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.004408, allocations: 71.77 kB / 0.7024 GB, free: 5.969 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.004606, allocations: 163.3 kB / 0.7025 GB, free: 5.809 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.004657, allocations: 9.297 kB / 0.7025 GB, free: 5.801 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.004787, allocations: 95.72 kB / 0.7026 GB, free: 5.707 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.005011, allocations: 71.84 kB / 0.7027 GB, free: 5.637 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.005038, allocations: 4 kB / 0.7027 GB, free: 5.633 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.266e-05/0.005061, allocations: 8 kB / 0.7027 GB, free: 5.625 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.00514, allocations: 39.83 kB / 0.7027 GB, free: 5.586 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.005207, allocations: 43.89 kB / 0.7028 GB, free: 5.543 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.005348, allocations: 103.6 kB / 0.7029 GB, free: 5.441 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.00535, allocations: 0 / 0.7029 GB, free: 5.441 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005351, allocations: 0 / 0.7029 GB, free: 5.441 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.005356, allocations: 3.938 kB / 0.7029 GB, free: 5.438 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.0007488/0.006105, allocations: 391.5 kB / 0.7033 GB, free: 5.02 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.006145, allocations: 12.03 kB / 0.7033 GB, free: 5.008 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.006197, allocations: 12.84 kB / 0.7033 GB, free: 4.996 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.00638, allocations: 154.2 kB / 0.7034 GB, free: 4.82 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.006399, allocations: 8.375 kB / 0.7034 GB, free: 4.812 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.006429, allocations: 8.375 kB / 0.7034 GB, free: 4.805 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.006673, allocations: 97.3 kB / 0.7035 GB, free: 4.707 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.006683, allocations: 3.938 kB / 0.7035 GB, free: 4.703 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.006697, allocations: 8 kB / 0.7035 GB, free: 4.695 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.006701, allocations: 3.938 kB / 0.7036 GB, free: 4.691 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.006972, allocations: 83.91 kB / 0.7036 GB, free: 4.609 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.007407, allocations: 272.4 kB / 0.7039 GB, free: 4.312 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.007748, allocations: 146.3 kB / 0.704 GB, free: 4.16 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.007887, allocations: 52.75 kB / 0.7041 GB, free: 4.105 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.007903, allocations: 7.938 kB / 0.7041 GB, free: 4.098 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.008156, allocations: 111.3 kB / 0.7042 GB, free: 3.977 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.008157, allocations: 0 / 0.7042 GB, free: 3.977 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005352/0.008692, allocations: 201.6 kB / 0.7044 GB, free: 3.773 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.008725, allocations: 51.41 kB / 0.7044 GB, free: 3.711 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.008845, allocations: 157 kB / 0.7046 GB, free: 3.551 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.008862, allocations: 33.7 kB / 0.7046 GB, free: 3.512 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.008911, allocations: 104 kB / 0.7047 GB, free: 3.406 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.008948, allocations: 43.64 kB / 0.7048 GB, free: 3.363 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.00901, allocations: 37.7 kB / 0.7048 GB, free: 3.32 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.56e-05/0.009055, allocations: 326.8 kB / 0.7051 GB, free: 2.992 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.009222, allocations: 81.66 kB / 0.7052 GB, free: 2.906 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.009418, allocations: 206.1 kB / 0.7054 GB, free: 2.668 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.009689, allocations: 136.5 kB / 0.7055 GB, free: 2.527 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.009692, allocations: 3.938 kB / 0.7055 GB, free: 2.523 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003915/0.01008, allocations: 243.5 kB / 0.7057 GB, free: 2.27 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.01011, allocations: 37.7 kB / 0.7058 GB, free: 2.227 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01012, allocations: 3.938 kB / 0.7058 GB, free: 2.223 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.01013, allocations: 4 kB / 0.7058 GB, free: 2.219 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.01029, allocations: 27.97 kB / 0.7058 GB, free: 2.191 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.0103, allocations: 0 / 0.7058 GB, free: 2.191 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.01047, allocations: 23.92 kB / 0.7058 GB, free: 2.168 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.01048, allocations: 4 kB / 0.7058 GB, free: 2.164 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 8.255e-05/0.01056, allocations: 122.4 kB / 0.706 GB, free: 2.035 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.01058, allocations: 19.84 kB / 0.706 GB, free: 2.016 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.01098, allocations: 174.4 kB / 0.7061 GB, free: 1.844 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01098, allocations: 0 / 0.7061 GB, free: 1.844 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01098, allocations: 224 / 0.7061 GB, free: 1.844 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01099, allocations: 3.984 kB / 0.7062 GB, free: 1.84 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.01111, allocations: 149.2 kB / 0.7063 GB, free: 1.664 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01111, allocations: 3.938 kB / 0.7063 GB, free: 1.66 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.01126, allocations: 23.98 kB / 0.7063 GB, free: 1.637 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01126, allocations: 0 / 0.7063 GB, free: 1.637 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.01128, allocations: 4 kB / 0.7063 GB, free: 1.633 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01128, allocations: 7.984 kB / 0.7063 GB, free: 1.625 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01128, allocations: 7.938 kB / 0.7063 GB, free: 1.617 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.01178, allocations: 243.7 kB / 0.7066 GB, free: 1.363 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.01181, allocations: 19.81 kB / 0.7066 GB, free: 1.344 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.01184, allocations: 7.984 kB / 0.7066 GB, free: 1.336 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.01197, allocations: 12.03 kB / 0.7066 GB, free: 1.324 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.01204, allocations: 15.97 kB / 0.7066 GB, free: 1.309 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.01205, allocations: 7.984 kB / 0.7066 GB, free: 1.301 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.258e-05/0.01213, allocations: 123.1 kB / 0.7067 GB, free: 1.18 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01213, allocations: 4.062 kB / 0.7068 GB, free: 1.176 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000202/0.01233, allocations: 32 kB / 0.7068 GB, free: 1.145 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.0001085/0.01244, allocations: 103.2 kB / 0.7069 GB, free: 1.031 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004051/0.01284, allocations: 213 kB / 0.7071 GB, free: 0.8047 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01284, allocations: 0 / 0.7071 GB, free: 0.8047 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.01301, allocations: 59.89 kB / 0.7071 GB, free: 0.7461 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.01329, allocations: 51.89 kB / 0.7072 GB, free: 0.6953 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.01393, allocations: 301.5 kB / 0.7075 GB, free: 384 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.284e-05/0.01398, allocations: 97.8 kB / 0.7076 GB, free: 268 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.527e-05/0.01406, allocations: 25.48 kB / 0.7076 GB, free: 240 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.01412, allocations: 20.5 kB / 0.7076 GB, free: 220 kB / 410.8 MB Notification: Performance of SimCode: time 3.3e-07/0.01412, allocations: 3.938 kB / 0.7076 GB, free: 216 kB / 410.8 MB Notification: Performance of Templates: time 0.006695/0.02081, allocations: 2.485 MB / 0.71 GB, free: 13.84 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.855263874866068]