Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_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.001361/0.001361, allocations: 104.4 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.001669/0.001669, allocations: 215.5 kB / 23 MB, free: 2.938 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.058/1.058, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.7898/0.7898, allocations: 312.3 MB / 0.6109 GB, free: 97.01 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.SodiumSelenite.SodiumSelenite_Brodin2015_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_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.001611/0.001611, allocations: 75.45 kB / 0.7699 GB, free: 19.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1262, allocations: 73.99 MB / 0.8422 GB, free: 9.809 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference): time 0.002332/0.1286, allocations: 1.813 MB / 0.8439 GB, free: 7.996 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008556/0.1294, allocations: 0.5418 MB / 0.8445 GB, free: 7.453 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.1295, allocations: 0.5 kB / 0.8445 GB, free: 7.453 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.1296, allocations: 12.48 kB / 0.8445 GB, free: 7.441 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.1299, allocations: 76.62 kB / 0.8445 GB, free: 7.367 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.1301, allocations: 61.59 kB / 0.8446 GB, free: 7.309 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.1303, allocations: 159.9 kB / 0.8448 GB, free: 7.152 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.1303, allocations: 5.812 kB / 0.8448 GB, free: 7.148 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.647e-05/0.1304, allocations: 76.25 kB / 0.8448 GB, free: 7.074 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.1307, allocations: 87.64 kB / 0.8449 GB, free: 6.988 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.1307, allocations: 8.594 kB / 0.8449 GB, free: 6.98 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.935e-05/0.1307, allocations: 4.625 kB / 0.8449 GB, free: 6.977 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003618/0.1311, allocations: 39.89 kB / 0.845 GB, free: 6.938 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.1312, allocations: 40.39 kB / 0.845 GB, free: 6.898 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.1313, allocations: 100.2 kB / 0.8451 GB, free: 6.801 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1313, allocations: 0 / 0.8451 GB, free: 6.801 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1313, allocations: 0.5938 kB / 0.8451 GB, free: 6.801 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1313, allocations: 0 / 0.8451 GB, free: 6.801 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.000628/0.1319, allocations: 389.2 kB / 0.8455 GB, free: 6.387 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.132, allocations: 12.62 kB / 0.8455 GB, free: 6.375 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.132, allocations: 12.84 kB / 0.8455 GB, free: 6.363 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.1322, allocations: 163.4 kB / 0.8457 GB, free: 6.18 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1322, allocations: 4.969 kB / 0.8457 GB, free: 6.176 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.1323, allocations: 12.12 kB / 0.8457 GB, free: 6.164 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1324, allocations: 101.9 kB / 0.8458 GB, free: 6.062 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1325, allocations: 0.5312 kB / 0.8458 GB, free: 6.062 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1325, allocations: 12.7 kB / 0.8458 GB, free: 6.051 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1325, allocations: 0 / 0.8458 GB, free: 6.051 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.1326, allocations: 80.92 kB / 0.8459 GB, free: 5.973 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.133, allocations: 280.9 kB / 0.8461 GB, free: 5.668 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.1333, allocations: 131.5 kB / 0.8463 GB, free: 5.531 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.742e-05/0.1334, allocations: 49.53 kB / 0.8463 GB, free: 5.48 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1334, allocations: 4 kB / 0.8463 GB, free: 5.477 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.1336, allocations: 116.7 kB / 0.8464 GB, free: 5.352 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.1336, allocations: 0 / 0.8464 GB, free: 5.352 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000369/0.134, allocations: 199 kB / 0.8466 GB, free: 5.152 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.134, allocations: 52.19 kB / 0.8467 GB, free: 5.09 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1341, allocations: 156.5 kB / 0.8468 GB, free: 4.93 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1341, allocations: 33.7 kB / 0.8468 GB, free: 4.891 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.1342, allocations: 104.6 kB / 0.8469 GB, free: 4.785 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.1342, allocations: 48.33 kB / 0.847 GB, free: 4.738 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.1343, allocations: 41.7 kB / 0.847 GB, free: 4.691 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.1344, allocations: 327.3 kB / 0.8473 GB, free: 4.363 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.1345, allocations: 82.23 kB / 0.8474 GB, free: 4.277 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.1346, allocations: 202.7 kB / 0.8476 GB, free: 4.043 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1348, allocations: 145.8 kB / 0.8477 GB, free: 3.895 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1348, allocations: 0.5938 kB / 0.8477 GB, free: 3.895 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000264/0.1351, allocations: 238 kB / 0.848 GB, free: 3.645 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.1351, allocations: 37.69 kB / 0.848 GB, free: 3.602 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1351, allocations: 0.5 kB / 0.848 GB, free: 3.602 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1351, allocations: 0.625 kB / 0.848 GB, free: 3.602 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1353, allocations: 28.55 kB / 0.848 GB, free: 3.574 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1353, allocations: 224 / 0.848 GB, free: 3.574 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.384e-05/0.1353, allocations: 28.5 kB / 0.8481 GB, free: 3.547 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1354, allocations: 4.531 kB / 0.8481 GB, free: 3.543 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.125e-05/0.1354, allocations: 126.3 kB / 0.8482 GB, free: 3.41 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.1355, allocations: 12.64 kB / 0.8482 GB, free: 3.398 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.1357, allocations: 178.9 kB / 0.8484 GB, free: 3.219 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1357, allocations: 0.625 kB / 0.8484 GB, free: 3.219 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1357, allocations: 0.5469 kB / 0.8484 GB, free: 3.219 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1357, allocations: 3.984 kB / 0.8484 GB, free: 3.215 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.1358, allocations: 153.9 kB / 0.8485 GB, free: 3.035 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1358, allocations: 0 / 0.8485 GB, free: 3.035 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.103e-05/0.1359, allocations: 28.72 kB / 0.8485 GB, free: 3.008 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.1359, allocations: 0.625 kB / 0.8485 GB, free: 3.008 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.136, allocations: 4 kB / 0.8486 GB, free: 3.004 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.136, allocations: 4.531 kB / 0.8486 GB, free: 3 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.136, allocations: 4.531 kB / 0.8486 GB, free: 2.996 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.1363, allocations: 257.9 kB / 0.8488 GB, free: 2.727 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.1363, allocations: 8.547 kB / 0.8488 GB, free: 2.719 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.1363, allocations: 0 / 0.8488 GB, free: 2.719 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.1364, allocations: 16.55 kB / 0.8488 GB, free: 2.703 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.1365, allocations: 12.56 kB / 0.8488 GB, free: 2.691 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.1365, allocations: 4.625 kB / 0.8488 GB, free: 2.688 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.402e-05/0.1365, allocations: 122.1 kB / 0.849 GB, free: 2.57 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1365, allocations: 0.5938 kB / 0.849 GB, free: 2.57 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001406/0.1367, allocations: 32.62 kB / 0.849 GB, free: 2.539 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.000122/0.1368, allocations: 114.4 kB / 0.8491 GB, free: 2.422 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.1371, allocations: 213.1 kB / 0.8493 GB, free: 2.199 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1371, allocations: 0.6562 kB / 0.8493 GB, free: 2.199 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.667e-05/0.1372, allocations: 64.42 kB / 0.8494 GB, free: 2.137 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.1374, allocations: 48.3 kB / 0.8494 GB, free: 2.094 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.1379, allocations: 364.2 kB / 0.8498 GB, free: 1.707 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.664e-05/0.138, allocations: 99.27 kB / 0.8499 GB, free: 1.59 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.1381, allocations: 19.42 kB / 0.8499 GB, free: 1.574 MB / 474.8 MB Notification: Performance of SimCode: time 2.7e-07/0.1381, allocations: 0.7188 kB / 0.8499 GB, free: 1.574 MB / 474.8 MB Notification: Performance of Templates: time 0.003306/0.1414, allocations: 2.044 MB / 0.8519 GB, free: 15.62 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.393469341099262]