Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_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.002468/0.002468, allocations: 88.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.002955/0.002955, allocations: 169.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.607/1.607, allocations: 177.1 MB / 202.8 MB, free: 5.617 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.346/1.346, allocations: 293 MB / 0.5392 GB, free: 49.73 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.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.6999 GB, free: 8.594 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.134e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.59 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference): time 0.002486/0.002517, allocations: 1.819 MB / 0.7017 GB, free: 6.754 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008786/0.003396, allocations: 0.5457 MB / 0.7022 GB, free: 6.203 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.003454, allocations: 0 / 0.7022 GB, free: 6.203 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.635e-05/0.00355, allocations: 11.86 kB / 0.7023 GB, free: 6.191 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.003902, allocations: 67.53 kB / 0.7023 GB, free: 6.125 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.004063, allocations: 79.27 kB / 0.7024 GB, free: 6.051 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.00427, allocations: 163.3 kB / 0.7025 GB, free: 5.891 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.004322, allocations: 5.312 kB / 0.7026 GB, free: 5.887 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.004452, allocations: 91.78 kB / 0.7026 GB, free: 5.797 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.004667, allocations: 75.77 kB / 0.7027 GB, free: 5.723 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.004694, allocations: 8 kB / 0.7027 GB, free: 5.715 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.204e-05/0.004716, allocations: 8 kB / 0.7027 GB, free: 5.707 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.004777, allocations: 31.84 kB / 0.7028 GB, free: 5.676 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.004839, allocations: 47.83 kB / 0.7028 GB, free: 5.629 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.004973, allocations: 107.7 kB / 0.7029 GB, free: 5.523 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.004976, allocations: 0 / 0.7029 GB, free: 5.523 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004976, allocations: 0 / 0.7029 GB, free: 5.523 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.004981, allocations: 0 / 0.7029 GB, free: 5.523 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.0007274/0.005708, allocations: 391.5 kB / 0.7033 GB, free: 5.105 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.005747, allocations: 8.031 kB / 0.7033 GB, free: 5.098 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.0058, allocations: 20.78 kB / 0.7033 GB, free: 5.078 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.005972, allocations: 150.2 kB / 0.7035 GB, free: 4.906 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.00599, allocations: 8.375 kB / 0.7035 GB, free: 4.898 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.006018, allocations: 8.375 kB / 0.7035 GB, free: 4.891 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.006272, allocations: 94.19 kB / 0.7036 GB, free: 4.793 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.006286, allocations: 11.88 kB / 0.7036 GB, free: 4.781 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.006299, allocations: 0 / 0.7036 GB, free: 4.781 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.006305, allocations: 4 kB / 0.7036 GB, free: 4.777 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.006574, allocations: 87.91 kB / 0.7037 GB, free: 4.691 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.006992, allocations: 280.4 kB / 0.7039 GB, free: 4.387 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.007354, allocations: 138.4 kB / 0.7041 GB, free: 4.242 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.007498, allocations: 56.73 kB / 0.7041 GB, free: 4.184 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.007515, allocations: 4 kB / 0.7041 GB, free: 4.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.007754, allocations: 107.3 kB / 0.7042 GB, free: 4.062 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.007755, allocations: 0 / 0.7042 GB, free: 4.062 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005434/0.008299, allocations: 201.6 kB / 0.7044 GB, free: 3.859 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.008326, allocations: 55.41 kB / 0.7045 GB, free: 3.793 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.008438, allocations: 159.5 kB / 0.7046 GB, free: 3.629 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.008455, allocations: 29.7 kB / 0.7046 GB, free: 3.594 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.008505, allocations: 104.1 kB / 0.7047 GB, free: 3.488 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.008535, allocations: 43.64 kB / 0.7048 GB, free: 3.445 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.008595, allocations: 33.7 kB / 0.7048 GB, free: 3.406 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.008656, allocations: 326.8 kB / 0.7051 GB, free: 3.078 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.008823, allocations: 85.66 kB / 0.7052 GB, free: 2.988 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.009025, allocations: 204.9 kB / 0.7054 GB, free: 2.754 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.009312, allocations: 134.5 kB / 0.7055 GB, free: 2.613 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.009315, allocations: 3.938 kB / 0.7055 GB, free: 2.609 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003746/0.00969, allocations: 247.7 kB / 0.7058 GB, free: 2.352 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.009714, allocations: 33.7 kB / 0.7058 GB, free: 2.312 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.009718, allocations: 0 / 0.7058 GB, free: 2.312 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.009736, allocations: 8 kB / 0.7058 GB, free: 2.305 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.009891, allocations: 27.97 kB / 0.7058 GB, free: 2.277 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.009896, allocations: 0 / 0.7058 GB, free: 2.277 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.01007, allocations: 15.92 kB / 0.7059 GB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.01009, allocations: 8 kB / 0.7059 GB, free: 2.254 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 7.734e-05/0.01016, allocations: 126.4 kB / 0.706 GB, free: 2.121 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.01018, allocations: 15.89 kB / 0.706 GB, free: 2.105 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.01056, allocations: 177.9 kB / 0.7062 GB, free: 1.934 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01056, allocations: 4 kB / 0.7062 GB, free: 1.93 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.01056, allocations: 3.938 kB / 0.7062 GB, free: 1.926 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01057, allocations: 224 / 0.7062 GB, free: 1.926 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.01068, allocations: 145.2 kB / 0.7063 GB, free: 1.754 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01068, allocations: 7.875 kB / 0.7063 GB, free: 1.746 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.01083, allocations: 19.98 kB / 0.7063 GB, free: 1.727 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01083, allocations: 4 kB / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.01085, allocations: 7.984 kB / 0.7064 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01085, allocations: 3.938 kB / 0.7064 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01085, allocations: 4 kB / 0.7064 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.01135, allocations: 245 kB / 0.7066 GB, free: 1.449 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.01137, allocations: 23.77 kB / 0.7066 GB, free: 1.426 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.0114, allocations: 4 kB / 0.7066 GB, free: 1.422 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.01153, allocations: 15.98 kB / 0.7066 GB, free: 1.406 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.01159, allocations: 15.97 kB / 0.7066 GB, free: 1.391 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.0116, allocations: 4 kB / 0.7067 GB, free: 1.387 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.123e-05/0.01167, allocations: 129.8 kB / 0.7068 GB, free: 1.262 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01167, allocations: 0 / 0.7068 GB, free: 1.262 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001973/0.01187, allocations: 32 kB / 0.7068 GB, free: 1.23 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.0001087/0.01198, allocations: 107.2 kB / 0.7069 GB, free: 1.113 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.01236, allocations: 205 kB / 0.7071 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01236, allocations: 0 / 0.7071 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.01252, allocations: 67.89 kB / 0.7072 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.01279, allocations: 43.89 kB / 0.7072 GB, free: 0.7852 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.01338, allocations: 305.5 kB / 0.7075 GB, free: 472 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.74e-05/0.01343, allocations: 97.8 kB / 0.7076 GB, free: 356 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.971e-05/0.01351, allocations: 29.52 kB / 0.7076 GB, free: 324 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.01356, allocations: 20.5 kB / 0.7076 GB, free: 304 kB / 410.8 MB Notification: Performance of SimCode: time 3.81e-07/0.01356, allocations: 0 / 0.7076 GB, free: 304 kB / 410.8 MB Notification: Performance of Templates: time 0.006363/0.01992, allocations: 2.502 MB / 0.7101 GB, free: 13.91 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.664996919920668]