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.0009239/0.0009239, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.00217, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001081/0.001081, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002345, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9993/0.9993, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08533/1.085, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.7766/0.7766, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03213/0.8087, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031e-05/1.205e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead): time 0.002455/0.002467, allocations: 1.964 MB / 0.5465 GB, free: 28.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008215/0.003288, allocations: 0.568 MB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.003348, allocations: 0 / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.355e-05/0.003402, allocations: 11.86 kB / 0.547 GB, free: 27.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.00364, allocations: 71.48 kB / 0.5471 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.003808, allocations: 67.77 kB / 0.5472 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.004003, allocations: 172 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.004039, allocations: 9.969 kB / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.004206, allocations: 107.8 kB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.004384, allocations: 79.77 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.004405, allocations: 8 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.004421, allocations: 4 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.00446, allocations: 23.94 kB / 0.5476 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.0045, allocations: 27.94 kB / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.782e-05/0.004598, allocations: 87.61 kB / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.004608, allocations: 0 / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004608, allocations: 0 / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.004617, allocations: 0 / 0.5477 GB, free: 27.33 MB / 410.7 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.0004414/0.005058, allocations: 392.1 kB / 0.548 GB, free: 26.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.529e-05/0.005083, allocations: 11.89 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.005118, allocations: 12.92 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.005243, allocations: 153.8 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.005257, allocations: 8.375 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.005277, allocations: 12.31 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.005388, allocations: 89.02 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.005394, allocations: 3.938 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.005402, allocations: 0 / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.005405, allocations: 0 / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.16e-05/0.005447, allocations: 23.98 kB / 0.5483 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.005665, allocations: 193.9 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.267e-05/0.005758, allocations: 118.9 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.005784, allocations: 20.86 kB / 0.5487 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.005796, allocations: 7.984 kB / 0.5487 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.999e-05/0.005886, allocations: 90.23 kB / 0.5488 GB, free: 26.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.005887, allocations: 0 / 0.5488 GB, free: 26.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001154/0.006003, allocations: 89.59 kB / 0.5488 GB, free: 26.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.006021, allocations: 55.62 kB / 0.5489 GB, free: 25.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.415e-05/0.006075, allocations: 146.6 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.006085, allocations: 37.64 kB / 0.5491 GB, free: 25.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.006117, allocations: 96.06 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.006137, allocations: 47.61 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.006175, allocations: 41.64 kB / 0.5492 GB, free: 25.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.738e-05/0.006202, allocations: 330.8 kB / 0.5496 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/0.006231, allocations: 40.53 kB / 0.5496 GB, free: 25.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.651e-05/0.006278, allocations: 158.1 kB / 0.5497 GB, free: 24.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.255e-05/0.006331, allocations: 86.81 kB / 0.5498 GB, free: 24.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006332, allocations: 0 / 0.5498 GB, free: 24.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.128e-05/0.006413, allocations: 151.8 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.006434, allocations: 32.52 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.006438, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.006443, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.554e-05/0.006539, allocations: 39.97 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.006542, allocations: 4 kB / 0.55 GB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.24e-05/0.006604, allocations: 8 kB / 0.5501 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.006613, allocations: 11.67 kB / 0.5501 GB, free: 24.64 MB / 410.7 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 4.118e-05/0.006654, allocations: 124.6 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.006667, allocations: 15.92 kB / 0.5502 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.00692, allocations: 90.42 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.006922, allocations: 4 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.006924, allocations: 0 / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006926, allocations: 0 / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.99e-05/0.006996, allocations: 105.8 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.006997, allocations: 0 / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.415e-05/0.007071, allocations: 27.92 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.007084, allocations: 7.953 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007086, allocations: 3.938 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.007095, allocations: 4 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.007096, allocations: 3.984 kB / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007097, allocations: 0 / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.007211, allocations: 135.3 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.007228, allocations: 3.938 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.409e-05/0.007272, allocations: 20.02 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.007304, allocations: 15.91 kB / 0.5506 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.007309, allocations: 4 kB / 0.5506 GB, free: 24.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.547e-05/0.007335, allocations: 42.45 kB / 0.5506 GB, free: 23.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007335, allocations: 0 / 0.5506 GB, free: 23.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001033/0.007438, allocations: 32 kB / 0.5507 GB, free: 23.95 MB / 410.7 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 5.467e-05/0.007493, allocations: 88.34 kB / 0.5508 GB, free: 23.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.007598, allocations: 145.9 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.007603, allocations: 4 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.00764, allocations: 48.89 kB / 0.551 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.007765, allocations: 50.72 kB / 0.551 GB, free: 23.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.01014, allocations: 362.2 kB / 0.5513 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.642e-05/0.01016, allocations: 67.84 kB / 0.5514 GB, free: 23.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.11e-05/0.01021, allocations: 17.52 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.01031, allocations: 95.28 kB / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01031, allocations: 0 / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of Templates: time 0.003257/0.01357, allocations: 2.739 MB / 0.5542 GB, free: 20.35 MB / 410.7 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2877771239727736]