Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.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.001964/0.001964, 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.002188/0.002188, allocations: 173.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.535/1.535, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.365/1.365, allocations: 292.9 MB / 0.5392 GB, free: 49.79 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6999 GB, free: 8.594 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.645e-05, allocations: 4.672 kB / 0.6999 GB, free: 8.59 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid): time 0.002504/0.002531, allocations: 1.822 MB / 0.7017 GB, free: 6.75 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.003532, allocations: 0.5538 MB / 0.7022 GB, free: 6.191 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.821e-05/0.003621, allocations: 4 kB / 0.7022 GB, free: 6.188 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.555e-05/0.003716, allocations: 15.86 kB / 0.7023 GB, free: 6.172 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.004084, allocations: 63.53 kB / 0.7023 GB, free: 6.109 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.004291, allocations: 67.77 kB / 0.7024 GB, free: 6.043 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.004503, allocations: 163.3 kB / 0.7025 GB, free: 5.883 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.004553, allocations: 9.297 kB / 0.7026 GB, free: 5.875 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.004703, allocations: 95.77 kB / 0.7026 GB, free: 5.781 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.004925, allocations: 75.78 kB / 0.7027 GB, free: 5.707 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.004959, allocations: 11.94 kB / 0.7027 GB, free: 5.695 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.423e-05/0.004983, allocations: 4 kB / 0.7027 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.005045, allocations: 39.83 kB / 0.7028 GB, free: 5.652 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.266e-05/0.005107, allocations: 43.91 kB / 0.7028 GB, free: 5.609 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.005263, allocations: 99.61 kB / 0.7029 GB, free: 5.512 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.005267, allocations: 4 kB / 0.7029 GB, free: 5.508 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005268, allocations: 0 / 0.7029 GB, free: 5.508 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.005273, allocations: 4 kB / 0.7029 GB, free: 5.504 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.000688/0.005961, allocations: 391.5 kB / 0.7033 GB, free: 5.086 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.005995, allocations: 8.031 kB / 0.7033 GB, free: 5.078 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.006049, allocations: 20.84 kB / 0.7033 GB, free: 5.059 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.006228, allocations: 142.2 kB / 0.7034 GB, free: 4.895 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.006248, allocations: 8.375 kB / 0.7035 GB, free: 4.887 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.006276, allocations: 12.36 kB / 0.7035 GB, free: 4.875 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.006513, allocations: 94.19 kB / 0.7036 GB, free: 4.777 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.006524, allocations: 7.938 kB / 0.7036 GB, free: 4.77 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.006538, allocations: 7.938 kB / 0.7036 GB, free: 4.762 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.006542, allocations: 0 / 0.7036 GB, free: 4.762 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.006804, allocations: 83.91 kB / 0.7037 GB, free: 4.68 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.007243, allocations: 276.4 kB / 0.7039 GB, free: 4.379 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.007584, allocations: 142.4 kB / 0.7041 GB, free: 4.23 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.007722, allocations: 52.81 kB / 0.7041 GB, free: 4.176 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.007738, allocations: 3.938 kB / 0.7041 GB, free: 4.172 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.007977, allocations: 111.3 kB / 0.7042 GB, free: 4.051 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.007979, allocations: 0 / 0.7042 GB, free: 4.051 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005475/0.008526, allocations: 200.8 kB / 0.7044 GB, free: 3.852 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.008555, allocations: 55.41 kB / 0.7045 GB, free: 3.785 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.008675, allocations: 157 kB / 0.7046 GB, free: 3.625 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.008695, allocations: 37.64 kB / 0.7046 GB, free: 3.582 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.008739, allocations: 100.1 kB / 0.7047 GB, free: 3.48 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.008767, allocations: 47.62 kB / 0.7048 GB, free: 3.434 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.008826, allocations: 41.7 kB / 0.7048 GB, free: 3.387 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.008871, allocations: 322.8 kB / 0.7051 GB, free: 3.062 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.009056, allocations: 81.66 kB / 0.7052 GB, free: 2.977 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.009254, allocations: 198.1 kB / 0.7054 GB, free: 2.746 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.009528, allocations: 141.3 kB / 0.7055 GB, free: 2.602 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.009534, allocations: 3.938 kB / 0.7055 GB, free: 2.598 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003962/0.00993, allocations: 244.8 kB / 0.7058 GB, free: 2.34 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.009956, allocations: 37.64 kB / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.009964, allocations: 0 / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.009981, allocations: 3.938 kB / 0.7058 GB, free: 2.293 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.01015, allocations: 27.97 kB / 0.7058 GB, free: 2.266 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.01015, allocations: 4 kB / 0.7058 GB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.01032, allocations: 23.92 kB / 0.7059 GB, free: 2.238 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.01033, allocations: 4 kB / 0.7059 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.726e-05/0.01041, allocations: 122.4 kB / 0.706 GB, free: 2.105 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.01043, allocations: 19.94 kB / 0.706 GB, free: 2.086 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.01082, allocations: 170.4 kB / 0.7062 GB, free: 1.918 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01082, allocations: 0 / 0.7062 GB, free: 1.918 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01083, allocations: 4 kB / 0.7062 GB, free: 1.914 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01083, allocations: 4.203 kB / 0.7062 GB, free: 1.91 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.01097, allocations: 145.2 kB / 0.7063 GB, free: 1.738 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01097, allocations: 7.875 kB / 0.7063 GB, free: 1.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.01113, allocations: 23.98 kB / 0.7063 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.01113, allocations: 0 / 0.7063 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.01115, allocations: 11.98 kB / 0.7064 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01115, allocations: 3.938 kB / 0.7064 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01115, allocations: 0 / 0.7064 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.01165, allocations: 245 kB / 0.7066 GB, free: 1.434 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.01168, allocations: 19.81 kB / 0.7066 GB, free: 1.414 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.01171, allocations: 15.98 kB / 0.7066 GB, free: 1.398 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.01186, allocations: 7.984 kB / 0.7066 GB, free: 1.391 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.01192, allocations: 15.98 kB / 0.7066 GB, free: 1.375 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.01193, allocations: 3.984 kB / 0.7067 GB, free: 1.371 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.459e-05/0.01201, allocations: 123.1 kB / 0.7068 GB, free: 1.25 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01201, allocations: 0 / 0.7068 GB, free: 1.25 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002122/0.01222, allocations: 32 kB / 0.7068 GB, free: 1.219 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.0001018/0.01232, allocations: 107.2 kB / 0.7069 GB, free: 1.102 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006721/0.01299, allocations: 213 kB / 0.7071 GB, free: 0.875 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.013, allocations: 0 / 0.7071 GB, free: 0.875 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.01317, allocations: 59.89 kB / 0.7072 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.01348, allocations: 54.64 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.0006679/0.01415, allocations: 300.8 kB / 0.7075 GB, free: 460 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.957e-05/0.01421, allocations: 101.8 kB / 0.7076 GB, free: 340 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.912e-05/0.0143, allocations: 17.48 kB / 0.7076 GB, free: 320 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.01435, allocations: 20.5 kB / 0.7076 GB, free: 300 kB / 410.8 MB Notification: Performance of SimCode: time 6.52e-07/0.01435, allocations: 4 kB / 0.7076 GB, free: 296 kB / 410.8 MB Notification: Performance of Templates: time 0.006641/0.02099, allocations: 2.499 MB / 0.7101 GB, free: 13.86 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.845229238970205]