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.0009772/0.0009772, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001878/0.002856, allocations: 455.9 kB / 10.35 MB, free: 348 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.0009163/0.0009163, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.002239, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.05/1.05, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1279/1.177, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.7322/0.7322, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03025/0.7624, allocations: 21.04 MB / 0.5432 GB, free: 31.73 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 2.535e-06/2.535e-06, allocations: 3.938 kB / 0.5446 GB, free: 30.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.597e-05, allocations: 6.312 kB / 0.5447 GB, free: 30.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead): time 0.003385/0.003411, allocations: 1.95 MB / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.004552, allocations: 0.5796 MB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.004623, allocations: 7.875 kB / 0.5471 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.642e-05/0.00469, allocations: 7.922 kB / 0.5471 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.005005, allocations: 71.48 kB / 0.5472 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.005225, allocations: 59.83 kB / 0.5473 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.00548, allocations: 168 kB / 0.5474 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.892e-05/0.005538, allocations: 9.906 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.005768, allocations: 115.7 kB / 0.5475 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.006008, allocations: 79.83 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.006044, allocations: 4 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.821e-05/0.006072, allocations: 8 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.006132, allocations: 27.88 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.376e-05/0.006196, allocations: 27.94 kB / 0.5477 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.006368, allocations: 75.73 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.78e-05/0.006385, allocations: 0 / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.006387, allocations: 4 kB / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.006408, allocations: 0 / 0.5478 GB, free: 27.09 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.0007469/0.007155, allocations: 388.1 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.007197, allocations: 15.89 kB / 0.5481 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.007249, allocations: 16.05 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.00744, allocations: 154.8 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.007469, allocations: 8.375 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.007499, allocations: 8.359 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.007681, allocations: 81.02 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.007689, allocations: 3.938 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.007699, allocations: 4 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.007703, allocations: 4 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.333e-05/0.007767, allocations: 23.98 kB / 0.5484 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.00812, allocations: 201.8 kB / 0.5486 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.008276, allocations: 114.9 kB / 0.5487 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.008319, allocations: 24.84 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.008336, allocations: 0 / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.008481, allocations: 86.25 kB / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.008483, allocations: 3.938 kB / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001798/0.008663, allocations: 93.64 kB / 0.5489 GB, free: 25.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.00869, allocations: 55.41 kB / 0.549 GB, free: 25.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/0.008782, allocations: 146.6 kB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.008801, allocations: 33.7 kB / 0.5492 GB, free: 25.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.00884, allocations: 96.06 kB / 0.5493 GB, free: 25.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.008873, allocations: 43.61 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.008933, allocations: 45.64 kB / 0.5493 GB, free: 25.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.008974, allocations: 326.8 kB / 0.5496 GB, free: 25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/0.00903, allocations: 44.52 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.148e-05/0.009111, allocations: 169 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/0.009208, allocations: 80.17 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.009211, allocations: 0 / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001473/0.009358, allocations: 146.8 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.009395, allocations: 37.69 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.0094, allocations: 0 / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.00941, allocations: 0 / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.009565, allocations: 31.92 kB / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.009569, allocations: 4 kB / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.009679, allocations: 15.98 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.009692, allocations: 4 kB / 0.5502 GB, free: 24.4 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 7.635e-05/0.009768, allocations: 124.7 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.009794, allocations: 15.92 kB / 0.5503 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.009971, allocations: 98.36 kB / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.009974, allocations: 224 / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.009977, allocations: 4 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.009982, allocations: 3.938 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.0101, allocations: 93.77 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.0101, allocations: 3.438 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-05/0.0102, allocations: 31.98 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.01021, allocations: 11.94 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01022, allocations: 3.938 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.01023, allocations: 3.984 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01023, allocations: 4 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.01024, allocations: 0 / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.01038, allocations: 134.6 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.0104, allocations: 3.938 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.874e-05/0.01045, allocations: 11.98 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.01048, allocations: 20 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.01049, allocations: 0 / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.013e-05/0.01052, allocations: 47.92 kB / 0.5507 GB, free: 23.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01052, allocations: 0 / 0.5507 GB, free: 23.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001092/0.01063, allocations: 32 kB / 0.5508 GB, free: 23.71 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 8.836e-05/0.01072, allocations: 80.36 kB / 0.5509 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.01085, allocations: 158.5 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.01085, allocations: 0 / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.945e-05/0.0109, allocations: 44.84 kB / 0.551 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.01106, allocations: 61.77 kB / 0.5511 GB, free: 23.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.01348, allocations: 346.2 kB / 0.5514 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.709e-05/0.01351, allocations: 67.84 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.96e-05/0.01358, allocations: 21.52 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.01371, allocations: 95.28 kB / 0.5516 GB, free: 22.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.01371, allocations: 0 / 0.5516 GB, free: 22.78 MB / 410.7 MB Notification: Performance of Templates: time 0.004085/0.01779, allocations: 2.742 MB / 0.5543 GB, free: 20.11 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.499184960499406]