Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin.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.0009356/0.0009356, 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.0009652/0.0009652, allocations: 215.5 kB / 23.01 MB, free: 2.934 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.102/1.102, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7764/0.7764, allocations: 312.3 MB / 0.6108 GB, free: 97.59 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.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin") [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.002337/0.002337, allocations: 82.73 kB / 0.7699 GB, free: 20.14 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1388, allocations: 73.98 MB / 0.8422 GB, free: 10.29 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin): time 0.002608/0.1414, allocations: 1.854 MB / 0.844 GB, free: 8.438 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007606/0.1421, allocations: 0.5417 MB / 0.8445 GB, free: 7.895 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.1422, allocations: 7.938 kB / 0.8445 GB, free: 7.887 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.1423, allocations: 8.609 kB / 0.8445 GB, free: 7.879 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.1426, allocations: 68.84 kB / 0.8446 GB, free: 7.812 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.1428, allocations: 57.94 kB / 0.8447 GB, free: 7.758 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.143, allocations: 163.3 kB / 0.8448 GB, free: 7.598 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.143, allocations: 5.812 kB / 0.8448 GB, free: 7.594 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.29e-05/0.1431, allocations: 76.38 kB / 0.8449 GB, free: 7.52 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.1433, allocations: 84.14 kB / 0.845 GB, free: 7.438 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1433, allocations: 8 kB / 0.845 GB, free: 7.43 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.067e-05/0.1434, allocations: 8.5 kB / 0.845 GB, free: 7.422 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.1434, allocations: 36.34 kB / 0.845 GB, free: 7.387 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.1435, allocations: 52.41 kB / 0.8451 GB, free: 7.336 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1436, allocations: 99.5 kB / 0.8452 GB, free: 7.238 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.1436, allocations: 0.7188 kB / 0.8452 GB, free: 7.238 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1436, allocations: 0 / 0.8452 GB, free: 7.238 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1436, allocations: 4.5 kB / 0.8452 GB, free: 7.234 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.0006136/0.1443, allocations: 391.5 kB / 0.8455 GB, free: 6.82 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1443, allocations: 8.031 kB / 0.8456 GB, free: 6.812 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.1443, allocations: 17.44 kB / 0.8456 GB, free: 6.797 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.1445, allocations: 146.9 kB / 0.8457 GB, free: 6.629 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1445, allocations: 9 kB / 0.8457 GB, free: 6.621 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1445, allocations: 8.719 kB / 0.8457 GB, free: 6.613 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1447, allocations: 109.9 kB / 0.8458 GB, free: 6.504 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1447, allocations: 0.6875 kB / 0.8458 GB, free: 6.504 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1448, allocations: 0 / 0.8458 GB, free: 6.504 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.1448, allocations: 0.5938 kB / 0.8458 GB, free: 6.504 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.1449, allocations: 84.41 kB / 0.8459 GB, free: 6.422 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.1453, allocations: 285 kB / 0.8462 GB, free: 6.113 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1455, allocations: 135.6 kB / 0.8463 GB, free: 5.973 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.1456, allocations: 53.44 kB / 0.8464 GB, free: 5.918 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1456, allocations: 0.5 kB / 0.8464 GB, free: 5.918 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.1458, allocations: 112 kB / 0.8465 GB, free: 5.797 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.1458, allocations: 0.7188 kB / 0.8465 GB, free: 5.797 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000355/0.1462, allocations: 203 kB / 0.8467 GB, free: 5.594 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.1462, allocations: 55.41 kB / 0.8467 GB, free: 5.527 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1463, allocations: 151.1 kB / 0.8469 GB, free: 5.371 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1463, allocations: 33.92 kB / 0.8469 GB, free: 5.332 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.1464, allocations: 104.7 kB / 0.847 GB, free: 5.227 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1464, allocations: 52.08 kB / 0.847 GB, free: 5.176 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.1465, allocations: 33.7 kB / 0.8471 GB, free: 5.137 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.1465, allocations: 331.4 kB / 0.8474 GB, free: 4.805 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1467, allocations: 82.25 kB / 0.8475 GB, free: 4.719 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1468, allocations: 202.5 kB / 0.8477 GB, free: 4.484 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.147, allocations: 142.3 kB / 0.8478 GB, free: 4.34 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.147, allocations: 0.5 kB / 0.8478 GB, free: 4.34 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002582/0.1472, allocations: 237.4 kB / 0.848 GB, free: 4.09 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.1473, allocations: 38.33 kB / 0.8481 GB, free: 4.047 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1473, allocations: 0.75 kB / 0.8481 GB, free: 4.047 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1473, allocations: 0 / 0.8481 GB, free: 4.047 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.1474, allocations: 32.5 kB / 0.8481 GB, free: 4.016 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1474, allocations: 4.688 kB / 0.8481 GB, free: 4.012 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.1475, allocations: 23.86 kB / 0.8481 GB, free: 3.988 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.1475, allocations: 12.58 kB / 0.8481 GB, free: 3.977 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.154e-05/0.1475, allocations: 123 kB / 0.8483 GB, free: 3.848 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.1476, allocations: 8.703 kB / 0.8483 GB, free: 3.84 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.1478, allocations: 178.9 kB / 0.8484 GB, free: 3.66 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1478, allocations: 4.609 kB / 0.8484 GB, free: 3.656 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1478, allocations: 0 / 0.8484 GB, free: 3.656 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1478, allocations: 0.5938 kB / 0.8484 GB, free: 3.656 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.1479, allocations: 149.8 kB / 0.8486 GB, free: 3.48 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1479, allocations: 4 kB / 0.8486 GB, free: 3.477 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.438e-05/0.148, allocations: 24.67 kB / 0.8486 GB, free: 3.453 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.148, allocations: 0.5 kB / 0.8486 GB, free: 3.453 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.148, allocations: 11.98 kB / 0.8486 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.148, allocations: 0.625 kB / 0.8486 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.148, allocations: 0.5 kB / 0.8486 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.1484, allocations: 257.1 kB / 0.8489 GB, free: 3.176 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.1484, allocations: 16.53 kB / 0.8489 GB, free: 3.16 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.1484, allocations: 8.719 kB / 0.8489 GB, free: 3.152 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/0.1485, allocations: 7.984 kB / 0.8489 GB, free: 3.145 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.1485, allocations: 20.5 kB / 0.8489 GB, free: 3.125 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1485, allocations: 0.5312 kB / 0.8489 GB, free: 3.125 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.384e-05/0.1486, allocations: 121.9 kB / 0.849 GB, free: 3.008 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1486, allocations: 0.5625 kB / 0.849 GB, free: 3.008 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001372/0.1487, allocations: 36.59 kB / 0.8491 GB, free: 2.973 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.108e-05/0.1488, allocations: 103.8 kB / 0.8492 GB, free: 2.863 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.1491, allocations: 220.1 kB / 0.8494 GB, free: 2.633 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1491, allocations: 0.75 kB / 0.8494 GB, free: 2.633 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/0.1492, allocations: 59.89 kB / 0.8494 GB, free: 2.574 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.1494, allocations: 47.41 kB / 0.8495 GB, free: 2.531 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.1499, allocations: 356.5 kB / 0.8498 GB, free: 2.152 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.535e-05/0.15, allocations: 102.7 kB / 0.8499 GB, free: 2.031 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.15, allocations: 16.12 kB / 0.8499 GB, free: 2.02 MB / 474.8 MB Notification: Performance of SimCode: time 9.22e-07/0.15, allocations: 0 / 0.8499 GB, free: 2.02 MB / 474.8 MB Notification: Performance of Templates: time 0.003021/0.153, allocations: 2.042 MB / 0.8519 GB, free: 72 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.093453165143728]