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.0007923/0.0007923, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009049/0.0009049, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.9072/0.9072, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.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.7052/0.7052, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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.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 2.405e-06/2.405e-06, allocations: 0 / 0.6973 GB, free: 10.42 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.375e-05, allocations: 6.219 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference): time 0.002944/0.002978, allocations: 1.825 MB / 0.6991 GB, free: 8.574 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.004178, allocations: 0.5458 MB / 0.6996 GB, free: 8.023 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.686e-05/0.004275, allocations: 0 / 0.6996 GB, free: 8.023 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.004434, allocations: 19.84 kB / 0.6997 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006021/0.005036, allocations: 67.48 kB / 0.6997 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.005302, allocations: 67.66 kB / 0.6998 GB, free: 7.875 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.005602, allocations: 171.2 kB / 0.7 GB, free: 7.707 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.914e-05/0.005681, allocations: 5.312 kB / 0.7 GB, free: 7.703 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.005898, allocations: 91.78 kB / 0.7 GB, free: 7.613 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.006249, allocations: 79.77 kB / 0.7001 GB, free: 7.535 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.006288, allocations: 4 kB / 0.7001 GB, free: 7.531 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.435e-05/0.006312, allocations: 8 kB / 0.7001 GB, free: 7.523 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.006387, allocations: 31.89 kB / 0.7002 GB, free: 7.492 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.006456, allocations: 43.84 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.006625, allocations: 95.69 kB / 0.7003 GB, free: 7.355 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.00663, allocations: 4 kB / 0.7003 GB, free: 7.352 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.034e-06/0.006632, allocations: 0 / 0.7003 GB, free: 7.352 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.006639, allocations: 0 / 0.7003 GB, free: 7.352 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.0007553/0.007395, allocations: 395.5 kB / 0.7007 GB, free: 6.93 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.007439, allocations: 12.03 kB / 0.7007 GB, free: 6.918 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.007503, allocations: 16.83 kB / 0.7007 GB, free: 6.902 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.007711, allocations: 154.1 kB / 0.7009 GB, free: 6.727 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.007733, allocations: 8.375 kB / 0.7009 GB, free: 6.719 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.007765, allocations: 8.375 kB / 0.7009 GB, free: 6.711 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.008008, allocations: 98.17 kB / 0.701 GB, free: 6.609 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.008018, allocations: 3.938 kB / 0.701 GB, free: 6.605 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.008035, allocations: 4 kB / 0.701 GB, free: 6.602 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.00804, allocations: 0 / 0.701 GB, free: 6.602 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.008276, allocations: 75.92 kB / 0.701 GB, free: 6.527 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.008748, allocations: 292.3 kB / 0.7013 GB, free: 6.211 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.009077, allocations: 138.4 kB / 0.7015 GB, free: 6.066 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.009208, allocations: 52.81 kB / 0.7015 GB, free: 6.012 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.009226, allocations: 4 kB / 0.7015 GB, free: 6.008 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.009466, allocations: 111.3 kB / 0.7016 GB, free: 5.887 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.009468, allocations: 0 / 0.7016 GB, free: 5.887 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004955/0.009964, allocations: 197.9 kB / 0.7018 GB, free: 5.688 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.009995, allocations: 55.39 kB / 0.7019 GB, free: 5.621 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.01012, allocations: 163.5 kB / 0.702 GB, free: 5.453 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.01014, allocations: 29.7 kB / 0.702 GB, free: 5.418 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.01019, allocations: 100.1 kB / 0.7021 GB, free: 5.316 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.01023, allocations: 43.58 kB / 0.7022 GB, free: 5.273 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.01029, allocations: 41.7 kB / 0.7022 GB, free: 5.227 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.558e-05/0.01034, allocations: 322.8 kB / 0.7025 GB, free: 4.902 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.0105, allocations: 81.64 kB / 0.7026 GB, free: 4.816 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.01068, allocations: 210 kB / 0.7028 GB, free: 4.574 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.01092, allocations: 140.7 kB / 0.7029 GB, free: 4.43 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01093, allocations: 3.938 kB / 0.7029 GB, free: 4.426 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003573/0.01128, allocations: 239 kB / 0.7032 GB, free: 4.176 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.01132, allocations: 37.69 kB / 0.7032 GB, free: 4.133 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01132, allocations: 0 / 0.7032 GB, free: 4.133 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.01134, allocations: 0 / 0.7032 GB, free: 4.133 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.01149, allocations: 35.92 kB / 0.7032 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.01149, allocations: 0 / 0.7032 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.01162, allocations: 23.92 kB / 0.7033 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.01164, allocations: 0 / 0.7033 GB, free: 4.074 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.948e-05/0.01172, allocations: 129.8 kB / 0.7034 GB, free: 3.938 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.01174, allocations: 15.91 kB / 0.7034 GB, free: 3.922 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.0121, allocations: 174.2 kB / 0.7036 GB, free: 3.754 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.01211, allocations: 4 kB / 0.7036 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01211, allocations: 0 / 0.7036 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.01212, allocations: 0 / 0.7036 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.01224, allocations: 157.2 kB / 0.7037 GB, free: 3.566 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.01225, allocations: 3.938 kB / 0.7037 GB, free: 3.562 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.01238, allocations: 23.98 kB / 0.7037 GB, free: 3.539 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.01239, allocations: 0 / 0.7037 GB, free: 3.539 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.0124, allocations: 0 / 0.7037 GB, free: 3.539 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.01241, allocations: 4 kB / 0.7038 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01241, allocations: 0 / 0.7038 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.01288, allocations: 256.9 kB / 0.704 GB, free: 3.266 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.01291, allocations: 15.88 kB / 0.704 GB, free: 3.25 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.01293, allocations: 0 / 0.704 GB, free: 3.25 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/0.01303, allocations: 15.98 kB / 0.704 GB, free: 3.234 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.0131, allocations: 16 kB / 0.704 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.01311, allocations: 11.94 kB / 0.7041 GB, free: 3.207 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.007e-05/0.01318, allocations: 125.3 kB / 0.7042 GB, free: 3.086 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01318, allocations: 0 / 0.7042 GB, free: 3.086 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002373/0.01342, allocations: 36.06 kB / 0.7042 GB, free: 3.051 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.000117/0.01353, allocations: 103.2 kB / 0.7043 GB, free: 2.938 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003634/0.0139, allocations: 209 kB / 0.7045 GB, free: 2.715 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.0139, allocations: 4 kB / 0.7045 GB, free: 2.711 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.01404, allocations: 63.83 kB / 0.7046 GB, free: 2.648 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.01435, allocations: 48.55 kB / 0.7046 GB, free: 2.602 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/0.015, allocations: 335.2 kB / 0.7049 GB, free: 2.242 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.215e-05/0.01506, allocations: 101.8 kB / 0.705 GB, free: 2.125 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.01513, allocations: 16.5 kB / 0.705 GB, free: 2.105 MB / 410.8 MB Notification: Performance of SimCode: time 6.71e-07/0.01513, allocations: 0 / 0.705 GB, free: 2.105 MB / 410.8 MB Notification: Performance of Templates: time 0.003442/0.01857, allocations: 2.047 MB / 0.707 GB, free: 80 kB / 410.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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.462425263598561]