Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_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.001442/0.001442, allocations: 108.3 kB / 19.71 MB, free: 436 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.001738/0.001738, allocations: 217.4 kB / 23 MB, free: 2.961 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.013/1.013, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.8159/0.8159, allocations: 312.3 MB / 0.6108 GB, free: 97.48 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.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference") [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.001458/0.001458, allocations: 77.3 kB / 0.7699 GB, free: 20.15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1227, allocations: 73.99 MB / 0.8421 GB, free: 10.29 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference): time 0.00252/0.1252, allocations: 1.805 MB / 0.8439 GB, free: 8.48 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008554/0.1261, allocations: 0.5416 MB / 0.8444 GB, free: 7.938 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.1261, allocations: 4.562 kB / 0.8444 GB, free: 7.934 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.195e-05/0.1262, allocations: 8.516 kB / 0.8444 GB, free: 7.926 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.1266, allocations: 72.77 kB / 0.8445 GB, free: 7.855 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.1267, allocations: 65.2 kB / 0.8446 GB, free: 7.797 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.1269, allocations: 167.8 kB / 0.8447 GB, free: 7.633 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.1269, allocations: 6.031 kB / 0.8447 GB, free: 7.629 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.517e-05/0.127, allocations: 71.75 kB / 0.8448 GB, free: 7.559 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.1272, allocations: 84.16 kB / 0.8449 GB, free: 7.477 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1273, allocations: 12.52 kB / 0.8449 GB, free: 7.465 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.91e-05/0.1273, allocations: 8 kB / 0.8449 GB, free: 7.457 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.1273, allocations: 28.44 kB / 0.8449 GB, free: 7.43 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.1274, allocations: 48.41 kB / 0.845 GB, free: 7.383 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1275, allocations: 95.56 kB / 0.8451 GB, free: 7.289 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1275, allocations: 4.625 kB / 0.8451 GB, free: 7.285 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1275, allocations: 0.5938 kB / 0.8451 GB, free: 7.285 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1275, allocations: 3.938 kB / 0.8451 GB, free: 7.281 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.0006328/0.1282, allocations: 393.1 kB / 0.8455 GB, free: 6.863 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1282, allocations: 8.594 kB / 0.8455 GB, free: 6.855 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.1283, allocations: 17.56 kB / 0.8455 GB, free: 6.84 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.1285, allocations: 150.8 kB / 0.8456 GB, free: 6.668 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1285, allocations: 4.906 kB / 0.8456 GB, free: 6.664 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.1285, allocations: 20.11 kB / 0.8456 GB, free: 6.645 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.1287, allocations: 98.73 kB / 0.8457 GB, free: 6.543 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.1287, allocations: 0 / 0.8457 GB, free: 6.543 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1287, allocations: 8.625 kB / 0.8457 GB, free: 6.535 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1287, allocations: 0.6875 kB / 0.8457 GB, free: 6.535 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.1289, allocations: 80.52 kB / 0.8458 GB, free: 6.457 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.1294, allocations: 293 kB / 0.8461 GB, free: 6.141 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.1296, allocations: 127.2 kB / 0.8462 GB, free: 6.008 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.1297, allocations: 53.53 kB / 0.8463 GB, free: 5.953 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1297, allocations: 4.5 kB / 0.8463 GB, free: 5.949 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.13, allocations: 111.8 kB / 0.8464 GB, free: 5.828 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.13, allocations: 0.5625 kB / 0.8464 GB, free: 5.828 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004012/0.1304, allocations: 199.4 kB / 0.8466 GB, free: 5.629 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1304, allocations: 55.41 kB / 0.8466 GB, free: 5.562 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1305, allocations: 155.2 kB / 0.8468 GB, free: 5.402 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1306, allocations: 29.7 kB / 0.8468 GB, free: 5.367 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.1306, allocations: 108.6 kB / 0.8469 GB, free: 5.258 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.1307, allocations: 44.36 kB / 0.847 GB, free: 5.215 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.1307, allocations: 37.92 kB / 0.847 GB, free: 5.172 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.1308, allocations: 327.4 kB / 0.8473 GB, free: 4.844 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.131, allocations: 86.22 kB / 0.8474 GB, free: 4.754 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.1311, allocations: 202.6 kB / 0.8476 GB, free: 4.52 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.1313, allocations: 146.1 kB / 0.8477 GB, free: 4.371 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1313, allocations: 0 / 0.8477 GB, free: 4.371 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002728/0.1316, allocations: 238 kB / 0.8479 GB, free: 4.121 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.1316, allocations: 34.36 kB / 0.848 GB, free: 4.082 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1316, allocations: 0 / 0.848 GB, free: 4.082 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1316, allocations: 0.5938 kB / 0.848 GB, free: 4.082 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1317, allocations: 32.44 kB / 0.848 GB, free: 4.051 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1318, allocations: 4 kB / 0.848 GB, free: 4.047 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.1318, allocations: 24.56 kB / 0.848 GB, free: 4.023 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1318, allocations: 4.625 kB / 0.848 GB, free: 4.02 MB / 474.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.032e-05/0.1319, allocations: 126.3 kB / 0.8482 GB, free: 3.887 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.1319, allocations: 8.547 kB / 0.8482 GB, free: 3.879 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.1322, allocations: 178.1 kB / 0.8483 GB, free: 3.703 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1322, allocations: 0 / 0.8483 GB, free: 3.703 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1322, allocations: 4.594 kB / 0.8483 GB, free: 3.699 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1322, allocations: 8.516 kB / 0.8483 GB, free: 3.691 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.1323, allocations: 149.2 kB / 0.8485 GB, free: 3.516 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1323, allocations: 0.7188 kB / 0.8485 GB, free: 3.516 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.008e-05/0.1324, allocations: 23.98 kB / 0.8485 GB, free: 3.492 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1324, allocations: 0.625 kB / 0.8485 GB, free: 3.492 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1324, allocations: 8.609 kB / 0.8485 GB, free: 3.484 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1324, allocations: 0 / 0.8485 GB, free: 3.484 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1324, allocations: 0.5938 kB / 0.8485 GB, free: 3.484 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.1328, allocations: 253.9 kB / 0.8488 GB, free: 3.219 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.1328, allocations: 12.64 kB / 0.8488 GB, free: 3.207 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1328, allocations: 7.984 kB / 0.8488 GB, free: 3.199 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.1329, allocations: 16.58 kB / 0.8488 GB, free: 3.184 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.1329, allocations: 12.61 kB / 0.8488 GB, free: 3.172 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1329, allocations: 12.52 kB / 0.8488 GB, free: 3.16 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.328e-05/0.133, allocations: 117.9 kB / 0.8489 GB, free: 3.047 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.133, allocations: 0.5312 kB / 0.8489 GB, free: 3.047 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001356/0.1331, allocations: 32.56 kB / 0.849 GB, free: 3.016 MB / 474.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.0001101/0.1333, allocations: 104.4 kB / 0.8491 GB, free: 2.906 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.1335, allocations: 217.6 kB / 0.8493 GB, free: 2.676 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1335, allocations: 4.531 kB / 0.8493 GB, free: 2.672 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.443e-05/0.1336, allocations: 60.48 kB / 0.8493 GB, free: 2.613 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.1338, allocations: 42.94 kB / 0.8494 GB, free: 2.574 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.1344, allocations: 365.1 kB / 0.8497 GB, free: 2.191 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.923e-05/0.1345, allocations: 103.3 kB / 0.8498 GB, free: 2.07 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.1345, allocations: 16.16 kB / 0.8498 GB, free: 2.059 MB / 474.8 MB Notification: Performance of SimCode: time 7.21e-07/0.1345, allocations: 0 / 0.8498 GB, free: 2.059 MB / 474.8 MB Notification: Performance of Templates: time 0.003094/0.1376, allocations: 2.042 MB / 0.8518 GB, free: 112 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.139548981562257]