Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.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.001219/0.001219, allocations: 92.5 kB / 19.94 MB, free: 4.605 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.0009242/0.0009242, allocations: 165.8 kB / 23.21 MB, free: 1.34 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.984/0.984, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.7135/0.7135, allocations: 291.2 MB / 0.5382 GB, free: 51.88 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.ChromicAcid.ChromicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 0.6974 GB, free: 10.33 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.784e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid): time 0.001626/0.001644, allocations: 1.822 MB / 0.6992 GB, free: 8.484 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006813/0.002325, allocations: 0.5537 MB / 0.6997 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.002374, allocations: 4 kB / 0.6997 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.89e-05/0.002463, allocations: 15.8 kB / 0.6997 GB, free: 7.906 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.002735, allocations: 67.55 kB / 0.6998 GB, free: 7.84 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001068/0.002842, allocations: 63.83 kB / 0.6998 GB, free: 7.777 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.002986, allocations: 167.3 kB / 0.7 GB, free: 7.613 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.003022, allocations: 5.312 kB / 0.7 GB, free: 7.609 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.518e-05/0.003117, allocations: 95.72 kB / 0.7001 GB, free: 7.516 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.00329, allocations: 75.77 kB / 0.7002 GB, free: 7.441 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.003311, allocations: 8 kB / 0.7002 GB, free: 7.434 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.003327, allocations: 8 kB / 0.7002 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.003375, allocations: 35.83 kB / 0.7002 GB, free: 7.391 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.003423, allocations: 39.91 kB / 0.7003 GB, free: 7.352 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.003528, allocations: 103.7 kB / 0.7003 GB, free: 7.25 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.00353, allocations: 4 kB / 0.7004 GB, free: 7.246 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003531, allocations: 0 / 0.7004 GB, free: 7.246 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.003534, allocations: 0 / 0.7004 GB, free: 7.246 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.000471/0.004005, allocations: 387.5 kB / 0.7007 GB, free: 6.832 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.004034, allocations: 12.03 kB / 0.7007 GB, free: 6.82 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.00407, allocations: 12.84 kB / 0.7007 GB, free: 6.809 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.004187, allocations: 150.1 kB / 0.7009 GB, free: 6.637 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.004199, allocations: 8.375 kB / 0.7009 GB, free: 6.629 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.004222, allocations: 12.38 kB / 0.7009 GB, free: 6.617 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.004373, allocations: 102.2 kB / 0.701 GB, free: 6.512 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.00438, allocations: 3.938 kB / 0.701 GB, free: 6.508 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.00439, allocations: 0 / 0.701 GB, free: 6.508 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.004395, allocations: 4 kB / 0.701 GB, free: 6.504 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.004536, allocations: 79.92 kB / 0.7011 GB, free: 6.426 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.004824, allocations: 280.4 kB / 0.7014 GB, free: 6.121 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.005028, allocations: 146.3 kB / 0.7015 GB, free: 5.969 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.761e-05/0.005105, allocations: 56.75 kB / 0.7016 GB, free: 5.91 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.00512, allocations: 4 kB / 0.7016 GB, free: 5.906 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.005264, allocations: 110.6 kB / 0.7017 GB, free: 5.789 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.005265, allocations: 0 / 0.7017 GB, free: 5.789 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003183/0.005583, allocations: 201.6 kB / 0.7019 GB, free: 5.586 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.005604, allocations: 59.41 kB / 0.7019 GB, free: 5.516 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.005686, allocations: 157 kB / 0.7021 GB, free: 5.355 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.005697, allocations: 25.7 kB / 0.7021 GB, free: 5.324 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.005739, allocations: 108.1 kB / 0.7022 GB, free: 5.215 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.005759, allocations: 43.64 kB / 0.7022 GB, free: 5.172 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.005798, allocations: 33.7 kB / 0.7023 GB, free: 5.133 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.888e-05/0.005827, allocations: 326.8 kB / 0.7026 GB, free: 4.805 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.31e-05/0.00592, allocations: 81.66 kB / 0.7027 GB, free: 4.719 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.006028, allocations: 202.1 kB / 0.7028 GB, free: 4.484 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.006177, allocations: 143.4 kB / 0.703 GB, free: 4.336 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006179, allocations: 3.938 kB / 0.703 GB, free: 4.332 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002183/0.006398, allocations: 241.8 kB / 0.7032 GB, free: 4.078 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.006414, allocations: 32.2 kB / 0.7032 GB, free: 4.043 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.006419, allocations: 4 kB / 0.7032 GB, free: 4.039 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.006429, allocations: 4 kB / 0.7033 GB, free: 4.035 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.006516, allocations: 31.98 kB / 0.7033 GB, free: 4.004 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.006521, allocations: 0 / 0.7033 GB, free: 4.004 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.64e-05/0.006597, allocations: 23.84 kB / 0.7033 GB, free: 3.98 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.006607, allocations: 8 kB / 0.7033 GB, free: 3.973 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 4.887e-05/0.006656, allocations: 122.4 kB / 0.7034 GB, free: 3.844 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.006667, allocations: 11.91 kB / 0.7034 GB, free: 3.832 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.006874, allocations: 166.4 kB / 0.7036 GB, free: 3.668 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006876, allocations: 8 kB / 0.7036 GB, free: 3.66 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.006879, allocations: 0 / 0.7036 GB, free: 3.66 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006882, allocations: 3.984 kB / 0.7036 GB, free: 3.656 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.453e-05/0.006957, allocations: 157.1 kB / 0.7038 GB, free: 3.473 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006958, allocations: 4.156 kB / 0.7038 GB, free: 3.469 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-05/0.007035, allocations: 23.98 kB / 0.7038 GB, free: 3.445 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.007037, allocations: 3.938 kB / 0.7038 GB, free: 3.441 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.007046, allocations: 0 / 0.7038 GB, free: 3.441 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007047, allocations: 0 / 0.7038 GB, free: 3.441 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007048, allocations: 0 / 0.7038 GB, free: 3.441 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.007326, allocations: 257 kB / 0.704 GB, free: 3.172 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.007342, allocations: 15.84 kB / 0.7041 GB, free: 3.156 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.007359, allocations: 7.922 kB / 0.7041 GB, free: 3.148 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.416e-05/0.007413, allocations: 23.95 kB / 0.7041 GB, free: 3.125 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.007458, allocations: 11.98 kB / 0.7041 GB, free: 3.113 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.007465, allocations: 7.984 kB / 0.7041 GB, free: 3.105 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.362e-05/0.007509, allocations: 123.1 kB / 0.7042 GB, free: 2.984 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007509, allocations: 0 / 0.7042 GB, free: 2.984 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001301/0.007639, allocations: 36.06 kB / 0.7043 GB, free: 2.949 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 5.441e-05/0.007693, allocations: 95.25 kB / 0.7043 GB, free: 2.844 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.007914, allocations: 215.9 kB / 0.7046 GB, free: 2.617 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007916, allocations: 0 / 0.7046 GB, free: 2.617 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.007999, allocations: 67.89 kB / 0.7046 GB, free: 2.551 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.008179, allocations: 47.89 kB / 0.7047 GB, free: 2.504 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.008594, allocations: 327.2 kB / 0.705 GB, free: 2.152 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.851e-05/0.008633, allocations: 101.8 kB / 0.7051 GB, free: 2.035 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.008677, allocations: 16.5 kB / 0.7051 GB, free: 2.016 MB / 410.8 MB Notification: Performance of SimCode: time 4.71e-07/0.008677, allocations: 0 / 0.7051 GB, free: 2.016 MB / 410.8 MB Notification: Performance of Templates: time 0.002072/0.01075, allocations: 2.05 MB / 0.7071 GB, free: 15.98 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.376400247216225]