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.001513/0.001513, allocations: 92.42 kB / 19.94 MB, free: 4.598 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.001804/0.001804, allocations: 165.9 kB / 23.21 MB, free: 1.324 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.9105/0.9105, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.7538/0.7538, allocations: 291.2 MB / 0.5382 GB, free: 51.9 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.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.333e-06/1.333e-06, allocations: 0 / 0.6974 GB, free: 10.31 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.64e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.3 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid): time 0.002015/0.002041, allocations: 1.84 MB / 0.6992 GB, free: 8.449 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007866/0.002828, allocations: 0.5421 MB / 0.6997 GB, free: 7.902 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.002891, allocations: 7.938 kB / 0.6997 GB, free: 7.895 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.003, allocations: 11.92 kB / 0.6997 GB, free: 7.883 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.003398, allocations: 71.41 kB / 0.6998 GB, free: 7.812 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.003607, allocations: 63.83 kB / 0.6998 GB, free: 7.75 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.003812, allocations: 163.3 kB / 0.7 GB, free: 7.59 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/0.003865, allocations: 13.3 kB / 0.7 GB, free: 7.578 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.003986, allocations: 91.72 kB / 0.7001 GB, free: 7.488 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.004269, allocations: 79.77 kB / 0.7002 GB, free: 7.41 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.004297, allocations: 4 kB / 0.7002 GB, free: 7.406 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.043e-05/0.004317, allocations: 8 kB / 0.7002 GB, free: 7.398 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.004381, allocations: 31.91 kB / 0.7002 GB, free: 7.367 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.004442, allocations: 47.83 kB / 0.7003 GB, free: 7.32 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.004589, allocations: 99.67 kB / 0.7004 GB, free: 7.223 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.004592, allocations: 0 / 0.7004 GB, free: 7.223 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.593e-06/0.004593, allocations: 4 kB / 0.7004 GB, free: 7.219 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.004599, allocations: 0 / 0.7004 GB, free: 7.219 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.0006313/0.00523, allocations: 391.5 kB / 0.7007 GB, free: 6.801 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.005272, allocations: 12.03 kB / 0.7007 GB, free: 6.789 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.005322, allocations: 12.84 kB / 0.7008 GB, free: 6.777 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.005479, allocations: 146.2 kB / 0.7009 GB, free: 6.609 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.005495, allocations: 4.375 kB / 0.7009 GB, free: 6.605 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.005521, allocations: 12.38 kB / 0.7009 GB, free: 6.594 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.005701, allocations: 102.1 kB / 0.701 GB, free: 6.488 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.005709, allocations: 7.875 kB / 0.701 GB, free: 6.48 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.005723, allocations: 8 kB / 0.701 GB, free: 6.473 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.00573, allocations: 0 / 0.701 GB, free: 6.473 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.005883, allocations: 75.92 kB / 0.7011 GB, free: 6.398 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.006266, allocations: 284.4 kB / 0.7014 GB, free: 6.09 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.006497, allocations: 142.4 kB / 0.7015 GB, free: 5.941 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-05/0.006577, allocations: 48.81 kB / 0.7015 GB, free: 5.891 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.006594, allocations: 4 kB / 0.7016 GB, free: 5.887 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.006784, allocations: 115.1 kB / 0.7017 GB, free: 5.766 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.006785, allocations: 224 / 0.7017 GB, free: 5.766 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003624/0.007148, allocations: 205.6 kB / 0.7019 GB, free: 5.559 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.007177, allocations: 55.34 kB / 0.7019 GB, free: 5.492 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.007271, allocations: 155.6 kB / 0.7021 GB, free: 5.332 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.007287, allocations: 33.7 kB / 0.7021 GB, free: 5.293 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.00733, allocations: 100.1 kB / 0.7022 GB, free: 5.191 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.007354, allocations: 43.64 kB / 0.7022 GB, free: 5.148 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.007397, allocations: 41.7 kB / 0.7023 GB, free: 5.102 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.69e-05/0.007434, allocations: 322.8 kB / 0.7026 GB, free: 4.777 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.007539, allocations: 77.66 kB / 0.7026 GB, free: 4.695 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.007655, allocations: 206.1 kB / 0.7028 GB, free: 4.457 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.007812, allocations: 140 kB / 0.703 GB, free: 4.312 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.007815, allocations: 3.938 kB / 0.703 GB, free: 4.309 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002392/0.008054, allocations: 247.2 kB / 0.7032 GB, free: 4.051 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.008079, allocations: 29.7 kB / 0.7032 GB, free: 4.016 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.008085, allocations: 4 kB / 0.7033 GB, free: 4.012 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.008107, allocations: 0 / 0.7033 GB, free: 4.012 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.008209, allocations: 31.98 kB / 0.7033 GB, free: 3.98 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.008214, allocations: 3.984 kB / 0.7033 GB, free: 3.977 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.933e-05/0.008294, allocations: 23.92 kB / 0.7033 GB, free: 3.953 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.008303, allocations: 0 / 0.7033 GB, free: 3.953 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 6.221e-05/0.008365, allocations: 126.4 kB / 0.7034 GB, free: 3.82 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.008381, allocations: 15.91 kB / 0.7034 GB, free: 3.805 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.008623, allocations: 166.4 kB / 0.7036 GB, free: 3.641 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.008626, allocations: 8 kB / 0.7036 GB, free: 3.633 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.00863, allocations: 0 / 0.7036 GB, free: 3.633 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.008635, allocations: 3.984 kB / 0.7036 GB, free: 3.629 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.994e-05/0.008725, allocations: 149.2 kB / 0.7038 GB, free: 3.453 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.008728, allocations: 7.922 kB / 0.7038 GB, free: 3.445 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.008821, allocations: 27.92 kB / 0.7038 GB, free: 3.418 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.008824, allocations: 3.938 kB / 0.7038 GB, free: 3.414 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.008835, allocations: 4 kB / 0.7038 GB, free: 3.41 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.008838, allocations: 7.984 kB / 0.7038 GB, free: 3.402 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.008839, allocations: 0 / 0.7038 GB, free: 3.402 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.009145, allocations: 245 kB / 0.704 GB, free: 3.145 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.009165, allocations: 15.88 kB / 0.7041 GB, free: 3.129 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.009187, allocations: 7.984 kB / 0.7041 GB, free: 3.121 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.687e-05/0.009244, allocations: 11.98 kB / 0.7041 GB, free: 3.109 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.009296, allocations: 15.92 kB / 0.7041 GB, free: 3.094 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.009307, allocations: 7.984 kB / 0.7041 GB, free: 3.086 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.536e-05/0.009353, allocations: 125.8 kB / 0.7042 GB, free: 2.965 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.9e-07/0.009353, allocations: 3.938 kB / 0.7042 GB, free: 2.961 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001355/0.009489, allocations: 36.06 kB / 0.7043 GB, free: 2.926 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 9.887e-05/0.009587, allocations: 99.25 kB / 0.7043 GB, free: 2.816 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.00984, allocations: 220.7 kB / 0.7046 GB, free: 2.586 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009842, allocations: 0 / 0.7046 GB, free: 2.586 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.009926, allocations: 55.95 kB / 0.7046 GB, free: 2.531 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.01013, allocations: 47.89 kB / 0.7047 GB, free: 2.484 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.01063, allocations: 335.2 kB / 0.705 GB, free: 2.125 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.748e-05/0.01068, allocations: 101.8 kB / 0.7051 GB, free: 2.008 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.01073, allocations: 16.5 kB / 0.7051 GB, free: 1.988 MB / 410.8 MB Notification: Performance of SimCode: time 7.21e-07/0.01073, allocations: 0 / 0.7051 GB, free: 1.988 MB / 410.8 MB Notification: Performance of Templates: time 0.002462/0.01319, allocations: 2.049 MB / 0.7071 GB, free: 15.95 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.555178900249302]