Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_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.001042/0.001042, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.001208/0.001208, allocations: 213.3 kB / 23 MB, free: 2.941 MB / 13.93 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.196/1.196, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.7932/0.7932, allocations: 312.3 MB / 0.6108 GB, free: 97.16 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_GarcaCorona20242_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 74.47 kB / 0.7699 GB, free: 19.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1322, allocations: 73.99 MB / 0.8421 GB, free: 9.848 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference): time 0.002323/0.1345, allocations: 1.81 MB / 0.8439 GB, free: 8.039 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007861/0.1353, allocations: 0.5376 MB / 0.8444 GB, free: 7.5 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.1353, allocations: 4.531 kB / 0.8444 GB, free: 7.496 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.1354, allocations: 16.58 kB / 0.8445 GB, free: 7.48 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.1358, allocations: 72.12 kB / 0.8445 GB, free: 7.414 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.1359, allocations: 69.73 kB / 0.8446 GB, free: 7.348 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1361, allocations: 159.9 kB / 0.8447 GB, free: 7.191 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.1362, allocations: 9.297 kB / 0.8448 GB, free: 7.184 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/0.1363, allocations: 68.48 kB / 0.8448 GB, free: 7.117 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.1365, allocations: 88.33 kB / 0.8449 GB, free: 7.031 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.1366, allocations: 8 kB / 0.8449 GB, free: 7.023 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.878e-05/0.1366, allocations: 4.719 kB / 0.8449 GB, free: 7.02 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.1366, allocations: 27.91 kB / 0.8449 GB, free: 6.992 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.1367, allocations: 52.31 kB / 0.845 GB, free: 6.941 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1368, allocations: 95.58 kB / 0.8451 GB, free: 6.848 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1368, allocations: 0.5938 kB / 0.8451 GB, free: 6.848 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1368, allocations: 0.5 kB / 0.8451 GB, free: 6.848 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1369, allocations: 0 / 0.8451 GB, free: 6.848 MB / 474.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.0006717/0.1375, allocations: 395.3 kB / 0.8455 GB, free: 6.43 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1376, allocations: 12.69 kB / 0.8455 GB, free: 6.418 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.1376, allocations: 12.84 kB / 0.8455 GB, free: 6.406 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.1378, allocations: 155.3 kB / 0.8456 GB, free: 6.23 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1378, allocations: 13 kB / 0.8457 GB, free: 6.219 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.1378, allocations: 12.12 kB / 0.8457 GB, free: 6.207 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.138, allocations: 102.3 kB / 0.8458 GB, free: 6.102 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.138, allocations: 0.5 kB / 0.8458 GB, free: 6.102 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1381, allocations: 4.672 kB / 0.8458 GB, free: 6.098 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1381, allocations: 4 kB / 0.8458 GB, free: 6.094 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.1382, allocations: 84.98 kB / 0.8458 GB, free: 6.012 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.1386, allocations: 276.9 kB / 0.8461 GB, free: 5.711 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.1389, allocations: 135.1 kB / 0.8462 GB, free: 5.57 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/0.1389, allocations: 50.03 kB / 0.8463 GB, free: 5.52 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.139, allocations: 4 kB / 0.8463 GB, free: 5.516 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.1391, allocations: 112.5 kB / 0.8464 GB, free: 5.395 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.1391, allocations: 0 / 0.8464 GB, free: 5.395 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003699/0.1395, allocations: 198.8 kB / 0.8466 GB, free: 5.199 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1396, allocations: 59.39 kB / 0.8466 GB, free: 5.129 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1397, allocations: 157.9 kB / 0.8468 GB, free: 4.969 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1397, allocations: 29.7 kB / 0.8468 GB, free: 4.934 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.1397, allocations: 108.7 kB / 0.8469 GB, free: 4.824 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1398, allocations: 44.27 kB / 0.847 GB, free: 4.781 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.1398, allocations: 41.69 kB / 0.847 GB, free: 4.734 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.1399, allocations: 327.5 kB / 0.8473 GB, free: 4.406 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.14, allocations: 82.38 kB / 0.8474 GB, free: 4.32 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.1402, allocations: 202.6 kB / 0.8476 GB, free: 4.086 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.1403, allocations: 142 kB / 0.8477 GB, free: 3.941 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1403, allocations: 0 / 0.8477 GB, free: 3.941 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002664/0.1406, allocations: 242 kB / 0.848 GB, free: 3.688 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.1406, allocations: 32.2 kB / 0.848 GB, free: 3.652 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1406, allocations: 0.7188 kB / 0.848 GB, free: 3.652 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1407, allocations: 4.625 kB / 0.848 GB, free: 3.648 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1408, allocations: 36.52 kB / 0.848 GB, free: 3.613 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1408, allocations: 4 kB / 0.848 GB, free: 3.609 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.1408, allocations: 20.41 kB / 0.8481 GB, free: 3.59 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1409, allocations: 12.61 kB / 0.8481 GB, free: 3.578 MB / 474.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.482e-05/0.1409, allocations: 122.4 kB / 0.8482 GB, free: 3.449 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.1409, allocations: 8.578 kB / 0.8482 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.1412, allocations: 175 kB / 0.8484 GB, free: 3.266 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1412, allocations: 4.688 kB / 0.8484 GB, free: 3.262 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1412, allocations: 0 / 0.8484 GB, free: 3.262 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1412, allocations: 0.6562 kB / 0.8484 GB, free: 3.262 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.1413, allocations: 165.6 kB / 0.8485 GB, free: 3.07 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1413, allocations: 0 / 0.8485 GB, free: 3.07 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.929e-05/0.1414, allocations: 24.67 kB / 0.8485 GB, free: 3.047 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1414, allocations: 0.625 kB / 0.8485 GB, free: 3.047 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1414, allocations: 4 kB / 0.8486 GB, free: 3.043 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1414, allocations: 0.625 kB / 0.8486 GB, free: 3.043 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1414, allocations: 4 kB / 0.8486 GB, free: 3.039 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.1418, allocations: 254.2 kB / 0.8488 GB, free: 2.773 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.1418, allocations: 8.578 kB / 0.8488 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.1418, allocations: 4.531 kB / 0.8488 GB, free: 2.762 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.1418, allocations: 12.61 kB / 0.8488 GB, free: 2.75 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.1419, allocations: 15.97 kB / 0.8488 GB, free: 2.734 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1419, allocations: 4.625 kB / 0.8488 GB, free: 2.73 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.378e-05/0.142, allocations: 123.8 kB / 0.849 GB, free: 2.609 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.142, allocations: 0 / 0.849 GB, free: 2.609 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001355/0.1421, allocations: 32.75 kB / 0.849 GB, free: 2.578 MB / 474.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.475e-05/0.1422, allocations: 103.8 kB / 0.8491 GB, free: 2.469 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.1425, allocations: 218.2 kB / 0.8493 GB, free: 2.238 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1425, allocations: 0.625 kB / 0.8493 GB, free: 2.238 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.1426, allocations: 60.48 kB / 0.8494 GB, free: 2.18 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.1428, allocations: 49.73 kB / 0.8494 GB, free: 2.133 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.1433, allocations: 356.3 kB / 0.8497 GB, free: 1.754 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.876e-05/0.1434, allocations: 103.8 kB / 0.8498 GB, free: 1.633 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.1434, allocations: 15.44 kB / 0.8499 GB, free: 1.621 MB / 474.8 MB Notification: Performance of SimCode: time 5.51e-07/0.1434, allocations: 3.938 kB / 0.8499 GB, free: 1.617 MB / 474.8 MB Notification: Performance of Templates: time 0.003065/0.1465, allocations: 2.056 MB / 0.8519 GB, free: 15.66 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_GarcaCorona20242_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.5430799117311835]