Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_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.002087/0.002087, allocations: 84.44 kB / 19.17 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.002112/0.002112, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.559/1.559, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.364/1.364, allocations: 292.9 MB / 0.5392 GB, free: 49.84 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.DomoicAcid.DomoicAcid_Maucher2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.6999 GB, free: 8.578 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.858e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.574 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference): time 0.00253/0.002559, allocations: 1.812 MB / 0.7017 GB, free: 6.746 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009441/0.003503, allocations: 0.5497 MB / 0.7022 GB, free: 6.191 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.003568, allocations: 3.938 kB / 0.7022 GB, free: 6.188 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.806e-05/0.003666, allocations: 15.86 kB / 0.7022 GB, free: 6.172 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.004008, allocations: 71.53 kB / 0.7023 GB, free: 6.102 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.004175, allocations: 66.52 kB / 0.7023 GB, free: 6.039 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.004361, allocations: 163.3 kB / 0.7025 GB, free: 5.879 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.004411, allocations: 13.3 kB / 0.7025 GB, free: 5.867 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.004537, allocations: 91.78 kB / 0.7026 GB, free: 5.777 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.004757, allocations: 75.77 kB / 0.7027 GB, free: 5.703 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.004784, allocations: 8 kB / 0.7027 GB, free: 5.695 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.337e-05/0.004807, allocations: 8 kB / 0.7027 GB, free: 5.688 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.004869, allocations: 35.83 kB / 0.7027 GB, free: 5.652 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.004929, allocations: 39.91 kB / 0.7028 GB, free: 5.613 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.005071, allocations: 103.6 kB / 0.7029 GB, free: 5.512 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.005072, allocations: 0 / 0.7029 GB, free: 5.512 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005073, allocations: 0 / 0.7029 GB, free: 5.512 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.005078, allocations: 4 kB / 0.7029 GB, free: 5.508 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.0007418/0.005819, allocations: 395.5 kB / 0.7032 GB, free: 5.086 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.005856, allocations: 15.89 kB / 0.7032 GB, free: 5.07 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.00591, allocations: 16.78 kB / 0.7033 GB, free: 5.055 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.00607, allocations: 146.2 kB / 0.7034 GB, free: 4.887 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.006088, allocations: 8.375 kB / 0.7034 GB, free: 4.879 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.006118, allocations: 12.36 kB / 0.7034 GB, free: 4.867 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.006352, allocations: 98.19 kB / 0.7035 GB, free: 4.766 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.006362, allocations: 3.938 kB / 0.7035 GB, free: 4.762 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.006377, allocations: 0 / 0.7035 GB, free: 4.762 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.006382, allocations: 7.938 kB / 0.7035 GB, free: 4.754 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.006646, allocations: 83.91 kB / 0.7036 GB, free: 4.672 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.007087, allocations: 280.4 kB / 0.7039 GB, free: 4.367 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.007436, allocations: 138.4 kB / 0.704 GB, free: 4.223 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.007581, allocations: 52.81 kB / 0.7041 GB, free: 4.168 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.007601, allocations: 7.938 kB / 0.7041 GB, free: 4.16 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.007859, allocations: 107.3 kB / 0.7042 GB, free: 4.043 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.00786, allocations: 0 / 0.7042 GB, free: 4.043 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005532/0.008413, allocations: 193.6 kB / 0.7044 GB, free: 3.848 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.008444, allocations: 59.41 kB / 0.7044 GB, free: 3.777 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.008563, allocations: 159.6 kB / 0.7046 GB, free: 3.613 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.00858, allocations: 25.7 kB / 0.7046 GB, free: 3.582 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.008632, allocations: 112 kB / 0.7047 GB, free: 3.469 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.008661, allocations: 43.62 kB / 0.7047 GB, free: 3.426 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.008726, allocations: 41.7 kB / 0.7048 GB, free: 3.379 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.078e-05/0.008777, allocations: 318.8 kB / 0.7051 GB, free: 3.059 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.00895, allocations: 81.66 kB / 0.7052 GB, free: 2.973 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.009144, allocations: 205.2 kB / 0.7054 GB, free: 2.738 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.009408, allocations: 142.5 kB / 0.7055 GB, free: 2.59 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.009411, allocations: 3.938 kB / 0.7055 GB, free: 2.586 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003867/0.009798, allocations: 240.8 kB / 0.7057 GB, free: 2.332 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.009825, allocations: 32.67 kB / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.00983, allocations: 3.938 kB / 0.7058 GB, free: 2.293 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.009849, allocations: 4 kB / 0.7058 GB, free: 2.289 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.01002, allocations: 27.97 kB / 0.7058 GB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01002, allocations: 4 kB / 0.7058 GB, free: 2.258 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.01019, allocations: 19.92 kB / 0.7058 GB, free: 2.238 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.0102, allocations: 4 kB / 0.7058 GB, free: 2.234 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.774e-05/0.01028, allocations: 129.7 kB / 0.7059 GB, free: 2.098 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.0103, allocations: 11.91 kB / 0.7059 GB, free: 2.086 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.01068, allocations: 169.1 kB / 0.7061 GB, free: 1.922 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01068, allocations: 4 kB / 0.7061 GB, free: 1.918 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01069, allocations: 7.938 kB / 0.7061 GB, free: 1.91 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01069, allocations: 3.984 kB / 0.7061 GB, free: 1.906 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.01081, allocations: 145.2 kB / 0.7063 GB, free: 1.734 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01081, allocations: 4.156 kB / 0.7063 GB, free: 1.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.01097, allocations: 23.98 kB / 0.7063 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01097, allocations: 3.938 kB / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.01099, allocations: 3.984 kB / 0.7063 GB, free: 1.699 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01099, allocations: 4 kB / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01099, allocations: 3.938 kB / 0.7063 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.01149, allocations: 253 kB / 0.7065 GB, free: 1.426 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.01151, allocations: 19.81 kB / 0.7066 GB, free: 1.406 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.01154, allocations: 3.984 kB / 0.7066 GB, free: 1.402 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.01167, allocations: 15.98 kB / 0.7066 GB, free: 1.387 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.01173, allocations: 11.97 kB / 0.7066 GB, free: 1.375 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.01175, allocations: 8 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.148e-05/0.01183, allocations: 125.3 kB / 0.7067 GB, free: 1.246 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01183, allocations: 0 / 0.7067 GB, free: 1.246 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001972/0.01203, allocations: 32 kB / 0.7068 GB, free: 1.215 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.0001131/0.01214, allocations: 107.3 kB / 0.7069 GB, free: 1.098 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003942/0.01254, allocations: 213 kB / 0.7071 GB, free: 0.8711 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01254, allocations: 0 / 0.7071 GB, free: 0.8711 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.0127, allocations: 59.89 kB / 0.7071 GB, free: 0.8125 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.01299, allocations: 47.89 kB / 0.7072 GB, free: 0.7656 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.0136, allocations: 309.3 kB / 0.7075 GB, free: 452 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.265e-05/0.01365, allocations: 101.8 kB / 0.7076 GB, free: 332 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.013e-05/0.01374, allocations: 17.48 kB / 0.7076 GB, free: 312 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.01379, allocations: 20.5 kB / 0.7076 GB, free: 292 kB / 410.8 MB Notification: Performance of SimCode: time 4.2e-07/0.01379, allocations: 4 kB / 0.7076 GB, free: 288 kB / 410.8 MB Notification: Performance of Templates: time 0.006344/0.02013, allocations: 2.492 MB / 0.71 GB, free: 13.89 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.829530424904078]