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.002534/0.002534, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.003103/0.003103, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.737/1.737, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.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.426/1.426, allocations: 316.7 MB / 0.6144 GB, free: 93.13 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: 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.004038/0.004038, allocations: 73.86 kB / 0.775 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1971, allocations: 73.99 MB / 0.8473 GB, free: 4.918 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead): time 0.003853/0.2009, allocations: 1.827 MB / 0.849 GB, free: 3.094 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2024, allocations: 0.5418 MB / 0.8496 GB, free: 2.551 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.141e-05/0.2025, allocations: 1.562 kB / 0.8496 GB, free: 2.551 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.2026, allocations: 15.84 kB / 0.8496 GB, free: 2.535 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.203, allocations: 70.22 kB / 0.8497 GB, free: 2.469 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.2032, allocations: 59.86 kB / 0.8497 GB, free: 2.41 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.2034, allocations: 163.3 kB / 0.8499 GB, free: 2.25 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.2035, allocations: 6.094 kB / 0.8499 GB, free: 2.246 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.2036, allocations: 75.69 kB / 0.8499 GB, free: 2.172 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.2039, allocations: 84.59 kB / 0.85 GB, free: 2.09 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.204, allocations: 4.5 kB / 0.85 GB, free: 2.086 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.155e-05/0.204, allocations: 8 kB / 0.85 GB, free: 2.078 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.2041, allocations: 32.41 kB / 0.8501 GB, free: 2.047 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.084e-05/0.2042, allocations: 52.52 kB / 0.8501 GB, free: 1.996 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.2044, allocations: 95.58 kB / 0.8502 GB, free: 1.902 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2044, allocations: 0.5625 kB / 0.8502 GB, free: 1.902 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2044, allocations: 0 / 0.8502 GB, free: 1.902 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2044, allocations: 4.656 kB / 0.8502 GB, free: 1.898 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009549/0.2053, allocations: 392.7 kB / 0.8506 GB, free: 1.48 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2054, allocations: 12.59 kB / 0.8506 GB, free: 1.469 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.2054, allocations: 13.59 kB / 0.8506 GB, free: 1.457 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.2057, allocations: 150.8 kB / 0.8508 GB, free: 1.285 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.2057, allocations: 4.875 kB / 0.8508 GB, free: 1.281 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.2058, allocations: 16.72 kB / 0.8508 GB, free: 1.266 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.2061, allocations: 105.5 kB / 0.8509 GB, free: 1.16 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2061, allocations: 0 / 0.8509 GB, free: 1.16 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.2061, allocations: 0.5938 kB / 0.8509 GB, free: 1.16 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.2061, allocations: 8.562 kB / 0.8509 GB, free: 1.152 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.2064, allocations: 80.5 kB / 0.851 GB, free: 1.074 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000613/0.207, allocations: 284.8 kB / 0.8512 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.2075, allocations: 131.6 kB / 0.8514 GB, free: 0.6289 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.2076, allocations: 57.47 kB / 0.8514 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2077, allocations: 4.656 kB / 0.8514 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/0.208, allocations: 109.3 kB / 0.8515 GB, free: 460 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.208, allocations: 0 / 0.8515 GB, free: 460 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006503/0.2086, allocations: 200.5 kB / 0.8517 GB, free: 256 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.2087, allocations: 55.41 kB / 0.8518 GB, free: 188 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.2089, allocations: 158.5 kB / 0.8519 GB, free: 20 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.209, allocations: 25.7 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.2091, allocations: 112.1 kB / 0.8521 GB, free: 15.88 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.2091, allocations: 43.62 kB / 0.8521 GB, free: 15.83 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.981e-05/0.2092, allocations: 41.7 kB / 0.8521 GB, free: 15.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.2094, allocations: 322.8 kB / 0.8524 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.2097, allocations: 82.78 kB / 0.8525 GB, free: 15.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.21, allocations: 208 kB / 0.8527 GB, free: 15.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.2104, allocations: 144.8 kB / 0.8529 GB, free: 14.99 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2104, allocations: 0 / 0.8529 GB, free: 14.99 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000537/0.2109, allocations: 237.4 kB / 0.8531 GB, free: 14.74 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.2109, allocations: 31.64 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.211, allocations: 0 / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.211, allocations: 4 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.2112, allocations: 27.97 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2112, allocations: 3.938 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.2113, allocations: 25.12 kB / 0.8532 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.2114, allocations: 7.984 kB / 0.8532 GB, free: 14.64 MB / 490.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.0001369/0.2115, allocations: 131.1 kB / 0.8533 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.2115, allocations: 12.52 kB / 0.8533 GB, free: 14.49 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.212, allocations: 179.5 kB / 0.8535 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.212, allocations: 8.031 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.212, allocations: 0.5 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.212, allocations: 0.7188 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.2122, allocations: 145.2 kB / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2122, allocations: 0.5312 kB / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.2124, allocations: 32.53 kB / 0.8537 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2124, allocations: 0 / 0.8537 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2124, allocations: 0.5 kB / 0.8537 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-06/0.2124, allocations: 0.5938 kB / 0.8537 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2124, allocations: 0 / 0.8537 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006477/0.2131, allocations: 261.4 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.2131, allocations: 15.91 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.2131, allocations: 0.5938 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.2133, allocations: 20.61 kB / 0.854 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.2133, allocations: 16.69 kB / 0.854 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.2134, allocations: 4 kB / 0.854 GB, free: 13.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001337/0.2135, allocations: 122.5 kB / 0.8541 GB, free: 13.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.2135, allocations: 0 / 0.8541 GB, free: 13.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002203/0.2137, allocations: 32.72 kB / 0.8541 GB, free: 13.62 MB / 490.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.000156/0.2139, allocations: 95.91 kB / 0.8542 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005003/0.2144, allocations: 220.2 kB / 0.8544 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2144, allocations: 0.5938 kB / 0.8544 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.2146, allocations: 68.38 kB / 0.8545 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.2149, allocations: 41.81 kB / 0.8545 GB, free: 13.19 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008928/0.2158, allocations: 314.6 kB / 0.8548 GB, free: 12.86 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.2159, allocations: 107.2 kB / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.2161, allocations: 24.45 kB / 0.855 GB, free: 12.71 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.2161, allocations: 20.23 kB / 0.855 GB, free: 12.69 MB / 490.8 MB Notification: Performance of SimCode: time 5.81e-07/0.2161, allocations: 3.938 kB / 0.855 GB, free: 12.69 MB / 490.8 MB Notification: Performance of Templates: time 0.3285/0.5446, allocations: 2.621 MB / 0.8575 GB, free: 28.17 MB / 490.8 MB " [Timeout remaining time 659] 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: 7.702508748974651]