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.001158/0.001158, 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.001252/0.001252, 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 1.023/1.023, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.7776/0.7776, allocations: 291.2 MB / 0.5382 GB, free: 51.87 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_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.343e-06/1.343e-06, allocations: 0 / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.422e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference): time 0.001797/0.001811, allocations: 1.818 MB / 0.6991 GB, free: 8.551 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006161/0.002427, allocations: 0.5497 MB / 0.6997 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.002488, allocations: 0 / 0.6997 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.78e-05/0.002576, allocations: 11.86 kB / 0.6997 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.002856, allocations: 71.47 kB / 0.6997 GB, free: 7.914 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.002966, allocations: 71.27 kB / 0.6998 GB, free: 7.848 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.003109, allocations: 167.3 kB / 0.7 GB, free: 7.684 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.003144, allocations: 5.312 kB / 0.7 GB, free: 7.68 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.003256, allocations: 87.78 kB / 0.7001 GB, free: 7.594 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.003431, allocations: 83.77 kB / 0.7001 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.003452, allocations: 8 kB / 0.7001 GB, free: 7.504 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.003466, allocations: 4 kB / 0.7002 GB, free: 7.5 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.003511, allocations: 31.91 kB / 0.7002 GB, free: 7.469 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.003557, allocations: 47.89 kB / 0.7002 GB, free: 7.422 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.003676, allocations: 99.61 kB / 0.7003 GB, free: 7.324 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003678, allocations: 4 kB / 0.7003 GB, free: 7.32 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003679, allocations: 0 / 0.7003 GB, free: 7.32 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.003683, allocations: 0 / 0.7003 GB, free: 7.32 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.0004696/0.004153, allocations: 391.5 kB / 0.7007 GB, free: 6.902 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.004188, allocations: 11.89 kB / 0.7007 GB, free: 6.891 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.004233, allocations: 16.84 kB / 0.7007 GB, free: 6.875 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.004361, allocations: 154.1 kB / 0.7009 GB, free: 6.699 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.004374, allocations: 4.375 kB / 0.7009 GB, free: 6.695 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.004395, allocations: 8.375 kB / 0.7009 GB, free: 6.688 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.004543, allocations: 98.19 kB / 0.701 GB, free: 6.586 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.004551, allocations: 3.938 kB / 0.701 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.004561, allocations: 8 kB / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004565, allocations: 0 / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.004749, allocations: 79.91 kB / 0.7011 GB, free: 6.496 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.005046, allocations: 284.3 kB / 0.7013 GB, free: 6.188 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.005278, allocations: 134.4 kB / 0.7015 GB, free: 6.047 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.414e-05/0.005362, allocations: 52.81 kB / 0.7015 GB, free: 5.992 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.005375, allocations: 4 kB / 0.7015 GB, free: 5.988 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.00552, allocations: 111.3 kB / 0.7016 GB, free: 5.867 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.005522, allocations: 3.984 kB / 0.7016 GB, free: 5.863 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003533/0.005875, allocations: 201.6 kB / 0.7018 GB, free: 5.66 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.005897, allocations: 55.41 kB / 0.7019 GB, free: 5.594 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.922e-05/0.005976, allocations: 153.2 kB / 0.702 GB, free: 5.438 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.005988, allocations: 33.7 kB / 0.7021 GB, free: 5.398 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.006029, allocations: 108 kB / 0.7022 GB, free: 5.289 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.006049, allocations: 51.56 kB / 0.7022 GB, free: 5.238 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.006088, allocations: 37.7 kB / 0.7022 GB, free: 5.195 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.098e-05/0.006119, allocations: 326.8 kB / 0.7026 GB, free: 4.867 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.006236, allocations: 81.66 kB / 0.7026 GB, free: 4.781 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.006355, allocations: 207.9 kB / 0.7028 GB, free: 4.543 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.006508, allocations: 137.2 kB / 0.703 GB, free: 4.402 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.00651, allocations: 11.94 kB / 0.703 GB, free: 4.391 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002126/0.006723, allocations: 236.8 kB / 0.7032 GB, free: 4.141 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.006741, allocations: 37.7 kB / 0.7032 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.006744, allocations: 0 / 0.7032 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.006754, allocations: 0 / 0.7032 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.006841, allocations: 31.91 kB / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.006846, allocations: 0 / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.006922, allocations: 23.92 kB / 0.7033 GB, free: 4.043 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.006932, allocations: 8 kB / 0.7033 GB, free: 4.035 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 5.922e-05/0.006991, allocations: 119 kB / 0.7034 GB, free: 3.91 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.007011, allocations: 19.89 kB / 0.7034 GB, free: 3.891 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.00734, allocations: 177.2 kB / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.007343, allocations: 0 / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.007347, allocations: 0 / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.007351, allocations: 0 / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.007452, allocations: 145.2 kB / 0.7037 GB, free: 3.547 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007453, allocations: 7.938 kB / 0.7037 GB, free: 3.539 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.695e-05/0.00754, allocations: 23.98 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.007542, allocations: 0 / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.007553, allocations: 11.98 kB / 0.7038 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.007554, allocations: 0 / 0.7038 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007555, allocations: 0 / 0.7038 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.007839, allocations: 244.9 kB / 0.704 GB, free: 3.246 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.007855, allocations: 19.86 kB / 0.704 GB, free: 3.227 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.007872, allocations: 12.06 kB / 0.704 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.525e-05/0.007927, allocations: 7.984 kB / 0.704 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.007973, allocations: 19.97 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.007979, allocations: 0 / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.307e-05/0.008022, allocations: 123.1 kB / 0.7042 GB, free: 3.066 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008022, allocations: 3.938 kB / 0.7042 GB, free: 3.062 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001307/0.008153, allocations: 32 kB / 0.7042 GB, free: 3.031 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 6.402e-05/0.008217, allocations: 103.2 kB / 0.7043 GB, free: 2.918 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.008441, allocations: 216.9 kB / 0.7045 GB, free: 2.688 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.008442, allocations: 0 / 0.7045 GB, free: 2.688 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.008524, allocations: 67.83 kB / 0.7046 GB, free: 2.621 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.008693, allocations: 43.89 kB / 0.7046 GB, free: 2.578 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.009095, allocations: 342.9 kB / 0.705 GB, free: 2.215 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.853e-05/0.009133, allocations: 93.81 kB / 0.705 GB, free: 2.105 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.00918, allocations: 20.5 kB / 0.7051 GB, free: 2.082 MB / 410.8 MB Notification: Performance of SimCode: time 3.81e-07/0.009181, allocations: 4 kB / 0.7051 GB, free: 2.078 MB / 410.8 MB Notification: Performance of Templates: time 0.002121/0.0113, allocations: 2.056 MB / 0.7071 GB, free: 44 kB / 410.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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.480438839644194]