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.00184/0.00184, allocations: 84.44 kB / 19.18 MB, free: 0.7383 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.001988/0.001988, allocations: 173.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.59/1.59, allocations: 177.1 MB / 202.8 MB, free: 5.785 MB / 186.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.416/1.416, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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.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.352e-06/1.352e-06, allocations: 0 / 0.6999 GB, free: 8.57 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.812e-05, allocations: 10.28 kB / 0.6999 GB, free: 8.559 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead): time 0.002657/0.002685, allocations: 1.82 MB / 0.7017 GB, free: 6.723 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009905/0.003676, allocations: 0.5616 MB / 0.7022 GB, free: 6.156 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.003746, allocations: 0 / 0.7022 GB, free: 6.156 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.003853, allocations: 15.84 kB / 0.7022 GB, free: 6.141 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.004234, allocations: 63.55 kB / 0.7023 GB, free: 6.078 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.004406, allocations: 67.72 kB / 0.7024 GB, free: 6.012 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.004615, allocations: 171.2 kB / 0.7025 GB, free: 5.844 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.00467, allocations: 5.312 kB / 0.7025 GB, free: 5.84 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.004809, allocations: 91.78 kB / 0.7026 GB, free: 5.75 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.005062, allocations: 71.83 kB / 0.7027 GB, free: 5.68 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.005091, allocations: 12 kB / 0.7027 GB, free: 5.668 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.356e-05/0.005115, allocations: 8 kB / 0.7027 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.00519, allocations: 35.83 kB / 0.7027 GB, free: 5.625 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.005257, allocations: 43.91 kB / 0.7028 GB, free: 5.582 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.005409, allocations: 95.69 kB / 0.7029 GB, free: 5.488 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.005412, allocations: 0 / 0.7029 GB, free: 5.488 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005413, allocations: 0 / 0.7029 GB, free: 5.488 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.005419, allocations: 0 / 0.7029 GB, free: 5.488 MB / 410.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.0007652/0.006184, allocations: 403.4 kB / 0.7033 GB, free: 5.059 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.006222, allocations: 8.031 kB / 0.7033 GB, free: 5.051 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.006281, allocations: 16.84 kB / 0.7033 GB, free: 5.035 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.006466, allocations: 154.1 kB / 0.7034 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.006485, allocations: 4.375 kB / 0.7034 GB, free: 4.855 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.006514, allocations: 12.38 kB / 0.7035 GB, free: 4.844 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.006778, allocations: 97.3 kB / 0.7035 GB, free: 4.746 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.006788, allocations: 7.875 kB / 0.7036 GB, free: 4.738 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.006802, allocations: 4 kB / 0.7036 GB, free: 4.734 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.006807, allocations: 4 kB / 0.7036 GB, free: 4.73 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.007094, allocations: 83.92 kB / 0.7036 GB, free: 4.648 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.007553, allocations: 276.3 kB / 0.7039 GB, free: 4.348 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.007911, allocations: 138.4 kB / 0.704 GB, free: 4.203 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.008067, allocations: 48.83 kB / 0.7041 GB, free: 4.152 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.008086, allocations: 3.984 kB / 0.7041 GB, free: 4.148 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.008344, allocations: 115.3 kB / 0.7042 GB, free: 4.023 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.008346, allocations: 3.938 kB / 0.7042 GB, free: 4.02 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005508/0.008896, allocations: 197.7 kB / 0.7044 GB, free: 3.82 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.008933, allocations: 59.39 kB / 0.7044 GB, free: 3.75 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.009054, allocations: 157 kB / 0.7046 GB, free: 3.59 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.009071, allocations: 29.7 kB / 0.7046 GB, free: 3.555 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.009118, allocations: 96.09 kB / 0.7047 GB, free: 3.457 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.009147, allocations: 51.64 kB / 0.7048 GB, free: 3.406 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.009207, allocations: 33.7 kB / 0.7048 GB, free: 3.367 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.009257, allocations: 326.8 kB / 0.7051 GB, free: 3.039 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.009426, allocations: 85.64 kB / 0.7052 GB, free: 2.949 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.009632, allocations: 200.3 kB / 0.7054 GB, free: 2.719 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.009939, allocations: 142.4 kB / 0.7055 GB, free: 2.57 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.009942, allocations: 3.938 kB / 0.7055 GB, free: 2.566 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003953/0.01034, allocations: 239.3 kB / 0.7057 GB, free: 2.316 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.01037, allocations: 41.69 kB / 0.7058 GB, free: 2.27 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01037, allocations: 0 / 0.7058 GB, free: 2.27 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.01039, allocations: 0 / 0.7058 GB, free: 2.27 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.01056, allocations: 27.92 kB / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01056, allocations: 4 kB / 0.7058 GB, free: 2.238 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.01073, allocations: 20.14 kB / 0.7058 GB, free: 2.219 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.01074, allocations: 4 kB / 0.7058 GB, free: 2.215 MB / 410.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 9.354e-05/0.01084, allocations: 134.9 kB / 0.706 GB, free: 2.074 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.01086, allocations: 11.91 kB / 0.706 GB, free: 2.062 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/0.01126, allocations: 178.2 kB / 0.7061 GB, free: 1.887 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.01127, allocations: 0 / 0.7061 GB, free: 1.887 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01127, allocations: 4 kB / 0.7062 GB, free: 1.883 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01128, allocations: 0 / 0.7062 GB, free: 1.883 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.0114, allocations: 149.2 kB / 0.7063 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.0114, allocations: 3.938 kB / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.01156, allocations: 23.98 kB / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01156, allocations: 0 / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.01158, allocations: 8 kB / 0.7063 GB, free: 1.672 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01158, allocations: 0 / 0.7063 GB, free: 1.672 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01158, allocations: 0 / 0.7063 GB, free: 1.672 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.01212, allocations: 251.6 kB / 0.7066 GB, free: 1.41 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.01215, allocations: 23.84 kB / 0.7066 GB, free: 1.387 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.01218, allocations: 8 kB / 0.7066 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.01231, allocations: 12.05 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.01238, allocations: 19.97 kB / 0.7066 GB, free: 1.348 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.01239, allocations: 4 kB / 0.7066 GB, free: 1.344 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.827e-05/0.01247, allocations: 119.1 kB / 0.7067 GB, free: 1.227 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01247, allocations: 4 kB / 0.7068 GB, free: 1.223 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002181/0.01269, allocations: 28 kB / 0.7068 GB, free: 1.195 MB / 410.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.0001284/0.01282, allocations: 111.2 kB / 0.7069 GB, free: 1.074 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.01323, allocations: 213 kB / 0.7071 GB, free: 0.8477 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01323, allocations: 0 / 0.7071 GB, free: 0.8477 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.0134, allocations: 63.89 kB / 0.7071 GB, free: 0.7852 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.0137, allocations: 39.89 kB / 0.7072 GB, free: 0.7461 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.0144, allocations: 309.5 kB / 0.7075 GB, free: 428 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.797e-05/0.01446, allocations: 89.81 kB / 0.7076 GB, free: 320 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.421e-05/0.01454, allocations: 29.47 kB / 0.7076 GB, free: 288 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.01461, allocations: 20.5 kB / 0.7076 GB, free: 268 kB / 410.8 MB Notification: Performance of SimCode: time 3e-07/0.01461, allocations: 0 / 0.7076 GB, free: 268 kB / 410.8 MB Notification: Performance of Templates: time 0.006937/0.02155, allocations: 2.492 MB / 0.71 GB, free: 13.86 MB / 426.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 -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: 6.6177660680841655]