Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_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.0009644/0.0009644, 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.0008913/0.0008913, allocations: 166.3 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.006/1.006, allocations: 177.1 MB / 203.5 MB, free: 5.379 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.7759/0.7759, allocations: 291.2 MB / 0.5382 GB, free: 51.55 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_Maucher2012v2_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.216e-05/3.433e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference): time 0.002537/0.002571, allocations: 1.825 MB / 0.6991 GB, free: 8.527 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000862/0.003433, allocations: 0.5497 MB / 0.6997 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.003496, allocations: 0 / 0.6997 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.003605, allocations: 15.86 kB / 0.6997 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.003981, allocations: 71.47 kB / 0.6998 GB, free: 7.887 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.004143, allocations: 71.77 kB / 0.6998 GB, free: 7.816 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.004317, allocations: 159.3 kB / 0.7 GB, free: 7.66 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.004366, allocations: 5.312 kB / 0.7 GB, free: 7.656 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.004482, allocations: 91.78 kB / 0.7001 GB, free: 7.566 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.004689, allocations: 83.75 kB / 0.7002 GB, free: 7.484 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.004712, allocations: 8 kB / 0.7002 GB, free: 7.477 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.703e-05/0.004729, allocations: 8 kB / 0.7002 GB, free: 7.469 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.004784, allocations: 31.84 kB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.004838, allocations: 43.84 kB / 0.7002 GB, free: 7.395 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.004964, allocations: 103.7 kB / 0.7003 GB, free: 7.293 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.004967, allocations: 3.984 kB / 0.7003 GB, free: 7.289 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004968, allocations: 0 / 0.7003 GB, free: 7.289 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.004973, allocations: 0 / 0.7003 GB, free: 7.289 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.000537/0.00551, allocations: 391.5 kB / 0.7007 GB, free: 6.871 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.005546, allocations: 12.03 kB / 0.7007 GB, free: 6.859 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.005593, allocations: 12.84 kB / 0.7007 GB, free: 6.848 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.00573, allocations: 146.2 kB / 0.7009 GB, free: 6.68 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.005745, allocations: 8.375 kB / 0.7009 GB, free: 6.672 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.005768, allocations: 4.375 kB / 0.7009 GB, free: 6.668 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.005932, allocations: 98.17 kB / 0.701 GB, free: 6.566 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.005941, allocations: 7.875 kB / 0.701 GB, free: 6.559 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.005953, allocations: 4 kB / 0.701 GB, free: 6.555 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.005958, allocations: 0 / 0.701 GB, free: 6.555 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.006101, allocations: 83.92 kB / 0.7011 GB, free: 6.473 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.006422, allocations: 284.4 kB / 0.7013 GB, free: 6.164 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.006632, allocations: 138.4 kB / 0.7015 GB, free: 6.02 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.702e-05/0.006709, allocations: 52.75 kB / 0.7015 GB, free: 5.965 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.006723, allocations: 4 kB / 0.7015 GB, free: 5.961 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.006888, allocations: 115.1 kB / 0.7016 GB, free: 5.84 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.093e-06/0.006889, allocations: 0 / 0.7016 GB, free: 5.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003307/0.007219, allocations: 197.9 kB / 0.7018 GB, free: 5.641 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.007245, allocations: 55.41 kB / 0.7019 GB, free: 5.574 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/0.007332, allocations: 165.7 kB / 0.702 GB, free: 5.406 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.007345, allocations: 33.7 kB / 0.7021 GB, free: 5.367 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.007383, allocations: 96.09 kB / 0.7022 GB, free: 5.27 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.007404, allocations: 47.58 kB / 0.7022 GB, free: 5.223 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.007443, allocations: 41.7 kB / 0.7023 GB, free: 5.176 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.301e-05/0.007476, allocations: 330.8 kB / 0.7026 GB, free: 4.844 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.466e-05/0.007571, allocations: 77.66 kB / 0.7026 GB, free: 4.762 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.007684, allocations: 198.1 kB / 0.7028 GB, free: 4.531 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.007843, allocations: 140.7 kB / 0.703 GB, free: 4.387 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.007845, allocations: 3.938 kB / 0.703 GB, free: 4.383 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002196/0.008065, allocations: 244.8 kB / 0.7032 GB, free: 4.125 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.00809, allocations: 37.69 kB / 0.7032 GB, free: 4.082 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.008094, allocations: 0 / 0.7032 GB, free: 4.082 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.008109, allocations: 0 / 0.7032 GB, free: 4.082 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.4e-05/0.008203, allocations: 27.98 kB / 0.7033 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.008208, allocations: 0 / 0.7033 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.903e-05/0.008287, allocations: 19.92 kB / 0.7033 GB, free: 4.035 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.008297, allocations: 7.984 kB / 0.7033 GB, free: 4.027 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.795e-05/0.008355, allocations: 130.4 kB / 0.7034 GB, free: 3.891 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.008367, allocations: 15.91 kB / 0.7034 GB, free: 3.875 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.008586, allocations: 170.4 kB / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008588, allocations: 0 / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.008592, allocations: 0 / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008595, allocations: 0 / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.992e-05/0.008675, allocations: 157.2 kB / 0.7037 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.008678, allocations: 3.938 kB / 0.7037 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.06e-05/0.008759, allocations: 23.98 kB / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.008761, allocations: 4 kB / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.008773, allocations: 7.938 kB / 0.7038 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.008775, allocations: 8 kB / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008776, allocations: 0 / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.009065, allocations: 244.9 kB / 0.704 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.009082, allocations: 15.88 kB / 0.704 GB, free: 3.203 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.0091, allocations: 4 kB / 0.704 GB, free: 3.199 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.009153, allocations: 16.05 kB / 0.7041 GB, free: 3.184 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.009207, allocations: 15.97 kB / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.009216, allocations: 7.938 kB / 0.7041 GB, free: 3.16 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.832e-05/0.009264, allocations: 125.1 kB / 0.7042 GB, free: 3.039 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.009264, allocations: 0 / 0.7042 GB, free: 3.039 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001358/0.0094, allocations: 35.98 kB / 0.7042 GB, free: 3.004 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 7.771e-05/0.009477, allocations: 103.2 kB / 0.7043 GB, free: 2.891 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.00973, allocations: 209 kB / 0.7045 GB, free: 2.668 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.009732, allocations: 0 / 0.7045 GB, free: 2.668 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.68e-05/0.009818, allocations: 71.81 kB / 0.7046 GB, free: 2.598 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.01001, allocations: 47.77 kB / 0.7046 GB, free: 2.555 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.01046, allocations: 335.2 kB / 0.705 GB, free: 2.195 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.616e-05/0.01051, allocations: 97.8 kB / 0.7051 GB, free: 2.082 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.01056, allocations: 20.5 kB / 0.7051 GB, free: 2.059 MB / 410.8 MB Notification: Performance of SimCode: time 8.62e-07/0.01056, allocations: 0 / 0.7051 GB, free: 2.059 MB / 410.8 MB Notification: Performance of Templates: time 0.002391/0.01295, allocations: 2.062 MB / 0.7071 GB, free: 20 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6374855088070035]