Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.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.0008937/0.0008937, allocations: 104.4 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.0008938/0.0008938, allocations: 215.5 kB / 23.01 MB, free: 2.934 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.035/1.035, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.7581/0.7581, allocations: 312.3 MB / 0.6108 GB, free: 97.09 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.TetraethylLead.TetraethylLead,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead") [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.003358/0.003358, allocations: 73.89 kB / 0.7699 GB, free: 19.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1419, allocations: 73.99 MB / 0.8422 GB, free: 9.781 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead): time 0.002424/0.1443, allocations: 1.818 MB / 0.844 GB, free: 7.965 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.000856/0.1452, allocations: 0.5376 MB / 0.8445 GB, free: 7.426 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.1453, allocations: 8.562 kB / 0.8445 GB, free: 7.418 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.1454, allocations: 7.922 kB / 0.8445 GB, free: 7.41 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.1457, allocations: 77.34 kB / 0.8446 GB, free: 7.336 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.1459, allocations: 53.5 kB / 0.8446 GB, free: 7.285 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.1461, allocations: 168 kB / 0.8448 GB, free: 7.121 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.1461, allocations: 5.297 kB / 0.8448 GB, free: 7.117 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.1462, allocations: 68.44 kB / 0.8448 GB, free: 7.051 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.1464, allocations: 92.25 kB / 0.8449 GB, free: 6.961 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1465, allocations: 8 kB / 0.8449 GB, free: 6.953 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.463e-05/0.1465, allocations: 8.625 kB / 0.845 GB, free: 6.945 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.1466, allocations: 28.41 kB / 0.845 GB, free: 6.918 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.1466, allocations: 43.8 kB / 0.845 GB, free: 6.875 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.1468, allocations: 108 kB / 0.8451 GB, free: 6.77 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1468, allocations: 0.9688 kB / 0.8451 GB, free: 6.77 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1468, allocations: 4 kB / 0.8451 GB, free: 6.766 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1468, allocations: 0 / 0.8451 GB, free: 6.766 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.0006345/0.1474, allocations: 393.4 kB / 0.8455 GB, free: 6.348 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1475, allocations: 8.031 kB / 0.8455 GB, free: 6.34 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.1475, allocations: 17.44 kB / 0.8455 GB, free: 6.324 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1477, allocations: 151.5 kB / 0.8457 GB, free: 6.152 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1477, allocations: 4.375 kB / 0.8457 GB, free: 6.148 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.1477, allocations: 16.75 kB / 0.8457 GB, free: 6.133 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1479, allocations: 98.33 kB / 0.8458 GB, free: 6.031 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1479, allocations: 0 / 0.8458 GB, free: 6.031 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1479, allocations: 4.688 kB / 0.8458 GB, free: 6.027 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1479, allocations: 0 / 0.8458 GB, free: 6.027 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.1481, allocations: 81.36 kB / 0.8459 GB, free: 5.949 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.1485, allocations: 288.9 kB / 0.8461 GB, free: 5.637 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.1487, allocations: 131.1 kB / 0.8463 GB, free: 5.5 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.656e-05/0.1488, allocations: 53.47 kB / 0.8463 GB, free: 5.445 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.1488, allocations: 0.5938 kB / 0.8463 GB, free: 5.445 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.149, allocations: 119.5 kB / 0.8464 GB, free: 5.32 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.149, allocations: 0.6875 kB / 0.8464 GB, free: 5.32 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003772/0.1494, allocations: 198.9 kB / 0.8466 GB, free: 5.121 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.1494, allocations: 56.06 kB / 0.8467 GB, free: 5.055 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1496, allocations: 154.5 kB / 0.8468 GB, free: 4.895 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1496, allocations: 30.55 kB / 0.8469 GB, free: 4.859 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.1496, allocations: 108.1 kB / 0.847 GB, free: 4.75 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.1497, allocations: 48.17 kB / 0.847 GB, free: 4.703 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.1497, allocations: 38.33 kB / 0.847 GB, free: 4.66 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.1498, allocations: 326.8 kB / 0.8474 GB, free: 4.332 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1499, allocations: 82.28 kB / 0.8474 GB, free: 4.246 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1501, allocations: 202.7 kB / 0.8476 GB, free: 4.012 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.1502, allocations: 146 kB / 0.8478 GB, free: 3.863 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1502, allocations: 0.625 kB / 0.8478 GB, free: 3.863 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002712/0.1505, allocations: 237.4 kB / 0.848 GB, free: 3.613 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.1506, allocations: 34.3 kB / 0.848 GB, free: 3.574 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1506, allocations: 0.625 kB / 0.848 GB, free: 3.574 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1506, allocations: 0 / 0.848 GB, free: 3.574 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1507, allocations: 28.42 kB / 0.848 GB, free: 3.547 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.1507, allocations: 4.531 kB / 0.8481 GB, free: 3.543 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.457e-05/0.1508, allocations: 28.52 kB / 0.8481 GB, free: 3.516 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1508, allocations: 8.5 kB / 0.8481 GB, free: 3.508 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.133e-05/0.1509, allocations: 122.3 kB / 0.8482 GB, free: 3.379 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.1509, allocations: 12.58 kB / 0.8482 GB, free: 3.367 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.1511, allocations: 174.9 kB / 0.8484 GB, free: 3.191 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1511, allocations: 0.6875 kB / 0.8484 GB, free: 3.191 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1511, allocations: 0 / 0.8484 GB, free: 3.191 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1512, allocations: 8.547 kB / 0.8484 GB, free: 3.184 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1513, allocations: 153.6 kB / 0.8485 GB, free: 3.004 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1513, allocations: 4 kB / 0.8485 GB, free: 3 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.802e-05/0.1514, allocations: 24.61 kB / 0.8486 GB, free: 2.977 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1514, allocations: 0.5938 kB / 0.8486 GB, free: 2.977 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1514, allocations: 4.734 kB / 0.8486 GB, free: 2.973 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1514, allocations: 0 / 0.8486 GB, free: 2.973 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1514, allocations: 8.688 kB / 0.8486 GB, free: 2.965 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.1517, allocations: 256.7 kB / 0.8488 GB, free: 2.699 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.1518, allocations: 11.98 kB / 0.8488 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.1518, allocations: 4.688 kB / 0.8488 GB, free: 2.684 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.1518, allocations: 16.53 kB / 0.8489 GB, free: 2.668 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.1519, allocations: 11.98 kB / 0.8489 GB, free: 2.656 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1519, allocations: 8.484 kB / 0.8489 GB, free: 2.648 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.338e-05/0.152, allocations: 122.5 kB / 0.849 GB, free: 2.531 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.152, allocations: 0 / 0.849 GB, free: 2.531 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001383/0.1521, allocations: 36.75 kB / 0.849 GB, free: 2.496 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.0001137/0.1522, allocations: 101 kB / 0.8491 GB, free: 2.391 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.1525, allocations: 218.5 kB / 0.8493 GB, free: 2.164 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1525, allocations: 1.344 kB / 0.8493 GB, free: 2.164 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.71e-05/0.1526, allocations: 59.89 kB / 0.8494 GB, free: 2.105 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.1528, allocations: 46.97 kB / 0.8494 GB, free: 2.062 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.1534, allocations: 364.8 kB / 0.8498 GB, free: 1.676 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.417e-05/0.1534, allocations: 101.5 kB / 0.8499 GB, free: 1.555 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.1535, allocations: 15.44 kB / 0.8499 GB, free: 1.543 MB / 474.8 MB Notification: Performance of SimCode: time 6.11e-07/0.1535, allocations: 2.156 kB / 0.8499 GB, free: 1.543 MB / 474.8 MB Notification: Performance of Templates: time 0.002997/0.1565, allocations: 2.042 MB / 0.8519 GB, free: 15.59 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.249989948235452]