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.001953/0.001953, 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.002747/0.002747, 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.564/1.564, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.434/1.434, allocations: 292.9 MB / 0.5392 GB, free: 50.17 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_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 1.623e-06/1.623e-06, allocations: 0 / 0.6999 GB, free: 8.543 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.002e-05, allocations: 9.094 kB / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference): time 0.006148/0.006178, allocations: 1.807 MB / 0.7017 GB, free: 6.711 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004206/0.01038, allocations: 0.5496 MB / 0.7022 GB, free: 6.156 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.883e-05/0.01048, allocations: 8 kB / 0.7022 GB, free: 6.148 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.01059, allocations: 11.86 kB / 0.7022 GB, free: 6.137 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.01098, allocations: 71.52 kB / 0.7023 GB, free: 6.066 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.0112, allocations: 67.83 kB / 0.7024 GB, free: 6 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.01145, allocations: 163.3 kB / 0.7025 GB, free: 5.84 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.01151, allocations: 5.297 kB / 0.7025 GB, free: 5.836 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.01168, allocations: 95.72 kB / 0.7026 GB, free: 5.742 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.01194, allocations: 79.77 kB / 0.7027 GB, free: 5.664 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.01197, allocations: 8 kB / 0.7027 GB, free: 5.656 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.991e-05/0.012, allocations: 4 kB / 0.7027 GB, free: 5.652 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.01207, allocations: 35.84 kB / 0.7027 GB, free: 5.617 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.247e-05/0.01214, allocations: 43.89 kB / 0.7028 GB, free: 5.574 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.01231, allocations: 99.67 kB / 0.7029 GB, free: 5.477 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.01232, allocations: 4 kB / 0.7029 GB, free: 5.473 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01232, allocations: 4 kB / 0.7029 GB, free: 5.469 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.01232, allocations: 0 / 0.7029 GB, free: 5.469 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.00392/0.01625, allocations: 391.5 kB / 0.7032 GB, free: 5.051 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.829e-05/0.01631, allocations: 8.031 kB / 0.7033 GB, free: 5.043 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.0164, allocations: 20.78 kB / 0.7033 GB, free: 5.023 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.01663, allocations: 146.1 kB / 0.7034 GB, free: 4.855 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.01666, allocations: 12.38 kB / 0.7034 GB, free: 4.844 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.0167, allocations: 8.375 kB / 0.7034 GB, free: 4.836 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.01702, allocations: 98.17 kB / 0.7035 GB, free: 4.734 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.01704, allocations: 7.938 kB / 0.7035 GB, free: 4.727 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.01706, allocations: 0 / 0.7035 GB, free: 4.727 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.01706, allocations: 0 / 0.7035 GB, free: 4.727 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.01744, allocations: 87.91 kB / 0.7036 GB, free: 4.641 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.01802, allocations: 280.3 kB / 0.7039 GB, free: 4.336 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003525/0.02154, allocations: 142.4 kB / 0.704 GB, free: 4.188 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.02176, allocations: 52.81 kB / 0.7041 GB, free: 4.133 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.02178, allocations: 0 / 0.7041 GB, free: 4.133 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/0.02211, allocations: 110.5 kB / 0.7042 GB, free: 4.016 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.02211, allocations: 0 / 0.7042 GB, free: 4.016 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0007717/0.02288, allocations: 209.6 kB / 0.7044 GB, free: 3.805 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.02292, allocations: 51.41 kB / 0.7044 GB, free: 3.742 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.02307, allocations: 157 kB / 0.7046 GB, free: 3.582 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.0231, allocations: 33.7 kB / 0.7046 GB, free: 3.543 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.02316, allocations: 100.1 kB / 0.7047 GB, free: 3.441 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.0232, allocations: 43.64 kB / 0.7047 GB, free: 3.398 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/0.0233, allocations: 37.7 kB / 0.7048 GB, free: 3.355 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.02336, allocations: 326.8 kB / 0.7051 GB, free: 3.027 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.0236, allocations: 81.66 kB / 0.7052 GB, free: 2.941 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.02388, allocations: 205.1 kB / 0.7054 GB, free: 2.707 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/0.0273, allocations: 138.4 kB / 0.7055 GB, free: 2.562 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02731, allocations: 3.938 kB / 0.7055 GB, free: 2.559 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005792/0.02789, allocations: 240.8 kB / 0.7057 GB, free: 2.305 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.02792, allocations: 37.7 kB / 0.7058 GB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.02793, allocations: 0 / 0.7058 GB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.02795, allocations: 0 / 0.7058 GB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.02819, allocations: 35.91 kB / 0.7058 GB, free: 2.227 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.02819, allocations: 0 / 0.7058 GB, free: 2.227 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.02843, allocations: 19.92 kB / 0.7058 GB, free: 2.207 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.02845, allocations: 8 kB / 0.7058 GB, free: 2.199 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 9.964e-05/0.02855, allocations: 122.9 kB / 0.7059 GB, free: 2.07 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.02858, allocations: 15.91 kB / 0.706 GB, free: 2.055 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/0.02913, allocations: 170.4 kB / 0.7061 GB, free: 1.887 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.02913, allocations: 7.938 kB / 0.7061 GB, free: 1.879 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.02914, allocations: 3.938 kB / 0.7061 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.02914, allocations: 3.984 kB / 0.7061 GB, free: 1.871 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.02932, allocations: 145.5 kB / 0.7063 GB, free: 1.699 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.02932, allocations: 3.938 kB / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.02954, allocations: 27.92 kB / 0.7063 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.02954, allocations: 0 / 0.7063 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.02956, allocations: 8 kB / 0.7063 GB, free: 1.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/0.02957, allocations: 3.984 kB / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02957, allocations: 0 / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/0.03332, allocations: 251.9 kB / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.03336, allocations: 19.81 kB / 0.7066 GB, free: 1.375 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.0334, allocations: 15.98 kB / 0.7066 GB, free: 1.359 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.03358, allocations: 8.031 kB / 0.7066 GB, free: 1.352 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.03366, allocations: 19.97 kB / 0.7066 GB, free: 1.332 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.03368, allocations: 3.984 kB / 0.7066 GB, free: 1.328 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001029/0.03378, allocations: 123.1 kB / 0.7067 GB, free: 1.207 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.03378, allocations: 0 / 0.7067 GB, free: 1.207 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003946/0.03417, allocations: 36.06 kB / 0.7068 GB, free: 1.172 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.0001208/0.0343, allocations: 103.2 kB / 0.7069 GB, free: 1.059 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005363/0.03483, allocations: 211.6 kB / 0.7071 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.03483, allocations: 0 / 0.7071 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.03508, allocations: 67.89 kB / 0.7071 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.03551, allocations: 43.89 kB / 0.7072 GB, free: 0.7266 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.03934, allocations: 305.5 kB / 0.7075 GB, free: 412 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.09e-05/0.03941, allocations: 101.8 kB / 0.7076 GB, free: 292 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.03954, allocations: 17.48 kB / 0.7076 GB, free: 272 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.03961, allocations: 24.5 kB / 0.7076 GB, free: 248 kB / 410.8 MB Notification: Performance of SimCode: time 5.61e-07/0.03961, allocations: 0 / 0.7076 GB, free: 248 kB / 410.8 MB Notification: Performance of Templates: time 0.0181/0.05771, allocations: 2.492 MB / 0.71 GB, free: 13.86 MB / 426.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.837375981034711]