Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.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.001576/0.001576, 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.001616/0.001616, allocations: 219 kB / 23.01 MB, free: 2.961 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.002/1.002, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.825/0.825, allocations: 312.3 MB / 0.6108 GB, free: 97.53 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.SelenicAcid.SelenicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid") [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.001457/0.001457, allocations: 77.73 kB / 0.7699 GB, free: 20.13 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1236, allocations: 73.99 MB / 0.8422 GB, free: 10.27 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid): time 0.002662/0.1262, allocations: 1.822 MB / 0.8439 GB, free: 8.453 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008072/0.127, allocations: 0.5417 MB / 0.8445 GB, free: 7.91 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.1271, allocations: 8.5 kB / 0.8445 GB, free: 7.902 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.685e-05/0.1272, allocations: 11.86 kB / 0.8445 GB, free: 7.891 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.1275, allocations: 65.62 kB / 0.8445 GB, free: 7.828 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.1276, allocations: 61.38 kB / 0.8446 GB, free: 7.77 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1278, allocations: 163.8 kB / 0.8448 GB, free: 7.609 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.1279, allocations: 9.891 kB / 0.8448 GB, free: 7.602 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.103e-05/0.128, allocations: 63.78 kB / 0.8448 GB, free: 7.539 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.1282, allocations: 92.16 kB / 0.8449 GB, free: 7.449 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1282, allocations: 8.5 kB / 0.8449 GB, free: 7.441 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.806e-05/0.1282, allocations: 4.625 kB / 0.8449 GB, free: 7.438 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.1283, allocations: 39.84 kB / 0.845 GB, free: 7.398 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 5.86e-05/0.1284, allocations: 48.41 kB / 0.845 GB, free: 7.352 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1285, allocations: 96.3 kB / 0.8451 GB, free: 7.258 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1285, allocations: 0 / 0.8451 GB, free: 7.258 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1285, allocations: 0.5 kB / 0.8451 GB, free: 7.258 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1285, allocations: 0 / 0.8451 GB, free: 7.258 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.0006113/0.1291, allocations: 393.4 kB / 0.8455 GB, free: 6.84 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1291, allocations: 15.97 kB / 0.8455 GB, free: 6.824 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.1292, allocations: 13.44 kB / 0.8455 GB, free: 6.812 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.1294, allocations: 151.5 kB / 0.8457 GB, free: 6.641 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1294, allocations: 4.375 kB / 0.8457 GB, free: 6.637 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1294, allocations: 20.61 kB / 0.8457 GB, free: 6.617 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1296, allocations: 101.8 kB / 0.8458 GB, free: 6.516 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1296, allocations: 0.5625 kB / 0.8458 GB, free: 6.516 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1296, allocations: 0.6562 kB / 0.8458 GB, free: 6.516 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1296, allocations: 4 kB / 0.8458 GB, free: 6.512 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.1298, allocations: 85.02 kB / 0.8459 GB, free: 6.43 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.1301, allocations: 281 kB / 0.8461 GB, free: 6.125 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.1304, allocations: 135.1 kB / 0.8463 GB, free: 5.984 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.1305, allocations: 45.95 kB / 0.8463 GB, free: 5.938 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1305, allocations: 4 kB / 0.8463 GB, free: 5.934 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.1307, allocations: 120.5 kB / 0.8464 GB, free: 5.805 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.674e-06/0.1307, allocations: 0 / 0.8464 GB, free: 5.805 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003518/0.131, allocations: 194.8 kB / 0.8466 GB, free: 5.609 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1311, allocations: 56.11 kB / 0.8467 GB, free: 5.543 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1312, allocations: 158.2 kB / 0.8468 GB, free: 5.383 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1312, allocations: 29.7 kB / 0.8468 GB, free: 5.348 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.1312, allocations: 104.7 kB / 0.8469 GB, free: 5.242 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1313, allocations: 47.62 kB / 0.847 GB, free: 5.195 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.1313, allocations: 38.27 kB / 0.847 GB, free: 5.152 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.1314, allocations: 335.3 kB / 0.8473 GB, free: 4.816 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1315, allocations: 78.22 kB / 0.8474 GB, free: 4.734 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1316, allocations: 206.8 kB / 0.8476 GB, free: 4.496 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.1318, allocations: 137.9 kB / 0.8477 GB, free: 4.355 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1318, allocations: 224 / 0.8477 GB, free: 4.355 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002683/0.1321, allocations: 240.4 kB / 0.848 GB, free: 4.105 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.1321, allocations: 42.25 kB / 0.848 GB, free: 4.059 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1321, allocations: 4 kB / 0.848 GB, free: 4.055 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1321, allocations: 0.5625 kB / 0.848 GB, free: 4.055 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1323, allocations: 28.61 kB / 0.848 GB, free: 4.027 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1323, allocations: 3.938 kB / 0.848 GB, free: 4.023 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.911e-05/0.1324, allocations: 24.47 kB / 0.8481 GB, free: 4 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1324, allocations: 8.578 kB / 0.8481 GB, free: 3.992 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 8.222e-05/0.1324, allocations: 122.4 kB / 0.8482 GB, free: 3.863 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.1325, allocations: 12.61 kB / 0.8482 GB, free: 3.852 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.1327, allocations: 175.3 kB / 0.8484 GB, free: 3.676 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1327, allocations: 4 kB / 0.8484 GB, free: 3.672 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1327, allocations: 0.5625 kB / 0.8484 GB, free: 3.672 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1327, allocations: 0.5312 kB / 0.8484 GB, free: 3.672 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.1328, allocations: 149.2 kB / 0.8485 GB, free: 3.496 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1328, allocations: 0.5625 kB / 0.8485 GB, free: 3.496 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.85e-05/0.1329, allocations: 24.61 kB / 0.8485 GB, free: 3.473 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1329, allocations: 0.5938 kB / 0.8485 GB, free: 3.473 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1329, allocations: 8 kB / 0.8486 GB, free: 3.465 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1329, allocations: 0.5938 kB / 0.8486 GB, free: 3.465 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1329, allocations: 4.594 kB / 0.8486 GB, free: 3.461 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.1333, allocations: 260.8 kB / 0.8488 GB, free: 3.191 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.1333, allocations: 15.92 kB / 0.8488 GB, free: 3.176 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.1333, allocations: 0.5625 kB / 0.8488 GB, free: 3.176 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/0.1334, allocations: 12.58 kB / 0.8488 GB, free: 3.164 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.1334, allocations: 16.62 kB / 0.8489 GB, free: 3.148 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1335, allocations: 4 kB / 0.8489 GB, free: 3.145 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.257e-05/0.1335, allocations: 119.8 kB / 0.849 GB, free: 3.027 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1335, allocations: 0 / 0.849 GB, free: 3.027 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001402/0.1337, allocations: 32.59 kB / 0.849 GB, free: 2.996 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 0.0001108/0.1338, allocations: 112.5 kB / 0.8491 GB, free: 2.879 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.134, allocations: 205.6 kB / 0.8493 GB, free: 2.66 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.134, allocations: 4.656 kB / 0.8493 GB, free: 2.656 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.666e-05/0.1341, allocations: 60.48 kB / 0.8494 GB, free: 2.598 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1344, allocations: 49.81 kB / 0.8494 GB, free: 2.551 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008318/0.1352, allocations: 360.4 kB / 0.8498 GB, free: 2.168 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.1353, allocations: 103.2 kB / 0.8499 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.1353, allocations: 15.44 kB / 0.8499 GB, free: 2.035 MB / 474.8 MB Notification: Performance of SimCode: time 5.01e-07/0.1353, allocations: 0.625 kB / 0.8499 GB, free: 2.035 MB / 474.8 MB Notification: Performance of Templates: time 0.002752/0.138, allocations: 2.049 MB / 0.8519 GB, free: 84 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.035171115770936]