Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.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.001499/0.001499, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001903/0.001903, allocations: 169.9 kB / 23.21 MB, free: 1.332 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 0.8435/0.8435, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.614/0.614, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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_Lanctt2017_sevi,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.562e-05, allocations: 6.219 kB / 0.6973 GB, free: 10.44 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi): time 0.001548/0.001564, allocations: 1.821 MB / 0.6991 GB, free: 8.605 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005567/0.00212, allocations: 0.5458 MB / 0.6996 GB, free: 8.055 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.002168, allocations: 0 / 0.6996 GB, free: 8.055 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.834e-05/0.002247, allocations: 15.86 kB / 0.6997 GB, free: 8.039 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.002512, allocations: 67.48 kB / 0.6997 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.002622, allocations: 71.64 kB / 0.6998 GB, free: 7.906 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.002769, allocations: 171.2 kB / 0.7 GB, free: 7.738 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.002803, allocations: 5.312 kB / 0.7 GB, free: 7.734 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.002893, allocations: 91.78 kB / 0.7001 GB, free: 7.645 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.003062, allocations: 75.78 kB / 0.7001 GB, free: 7.57 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.003081, allocations: 4 kB / 0.7001 GB, free: 7.566 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.003096, allocations: 8 kB / 0.7001 GB, free: 7.559 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.003139, allocations: 39.89 kB / 0.7002 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.003181, allocations: 39.89 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 9.848e-05/0.00328, allocations: 107.6 kB / 0.7003 GB, free: 7.375 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003281, allocations: 0 / 0.7003 GB, free: 7.375 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.122e-06/0.003283, allocations: 0 / 0.7003 GB, free: 7.375 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.003286, allocations: 4 kB / 0.7003 GB, free: 7.371 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.00047/0.003756, allocations: 383.5 kB / 0.7007 GB, free: 6.961 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.003785, allocations: 19.89 kB / 0.7007 GB, free: 6.941 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.003822, allocations: 12.84 kB / 0.7007 GB, free: 6.93 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.00394, allocations: 154.1 kB / 0.7009 GB, free: 6.754 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.003952, allocations: 8.375 kB / 0.7009 GB, free: 6.746 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.003971, allocations: 4.375 kB / 0.7009 GB, free: 6.742 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.004112, allocations: 94.19 kB / 0.701 GB, free: 6.645 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.00412, allocations: 3.938 kB / 0.701 GB, free: 6.641 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.00413, allocations: 4 kB / 0.701 GB, free: 6.637 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.004134, allocations: 0 / 0.701 GB, free: 6.637 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.004272, allocations: 83.91 kB / 0.7011 GB, free: 6.555 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.004556, allocations: 292.3 kB / 0.7013 GB, free: 6.238 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.004759, allocations: 130.4 kB / 0.7015 GB, free: 6.102 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.6e-05/0.004835, allocations: 52.81 kB / 0.7015 GB, free: 6.047 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.004847, allocations: 7.984 kB / 0.7015 GB, free: 6.039 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.004989, allocations: 111.3 kB / 0.7016 GB, free: 5.918 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.00499, allocations: 7.938 kB / 0.7016 GB, free: 5.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003019/0.005292, allocations: 197.6 kB / 0.7018 GB, free: 5.711 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.005311, allocations: 51.62 kB / 0.7019 GB, free: 5.648 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.005388, allocations: 161 kB / 0.702 GB, free: 5.484 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.0054, allocations: 33.64 kB / 0.702 GB, free: 5.445 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.005438, allocations: 104.1 kB / 0.7021 GB, free: 5.34 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.005463, allocations: 43.64 kB / 0.7022 GB, free: 5.297 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.005502, allocations: 37.7 kB / 0.7022 GB, free: 5.254 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.005542, allocations: 326.8 kB / 0.7025 GB, free: 4.926 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-05/0.005636, allocations: 77.66 kB / 0.7026 GB, free: 4.844 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.005744, allocations: 211.7 kB / 0.7028 GB, free: 4.602 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.005893, allocations: 136.4 kB / 0.7029 GB, free: 4.461 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.005895, allocations: 7.922 kB / 0.703 GB, free: 4.453 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002061/0.006101, allocations: 240.8 kB / 0.7032 GB, free: 4.199 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.006117, allocations: 33.7 kB / 0.7032 GB, free: 4.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006121, allocations: 4 kB / 0.7032 GB, free: 4.156 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.006131, allocations: 0 / 0.7032 GB, free: 4.156 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.006218, allocations: 35.91 kB / 0.7033 GB, free: 4.121 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.006222, allocations: 0 / 0.7033 GB, free: 4.121 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.006295, allocations: 19.92 kB / 0.7033 GB, free: 4.102 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.006303, allocations: 4 kB / 0.7033 GB, free: 4.098 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 4.772e-05/0.006351, allocations: 122.4 kB / 0.7034 GB, free: 3.969 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.006363, allocations: 23.89 kB / 0.7034 GB, free: 3.945 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.00657, allocations: 170.3 kB / 0.7036 GB, free: 3.777 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.006572, allocations: 0 / 0.7036 GB, free: 3.777 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.006574, allocations: 0 / 0.7036 GB, free: 3.777 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.006577, allocations: 0 / 0.7036 GB, free: 3.777 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.221e-05/0.006649, allocations: 153.2 kB / 0.7037 GB, free: 3.598 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.00665, allocations: 3.938 kB / 0.7037 GB, free: 3.594 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.367e-05/0.006724, allocations: 23.98 kB / 0.7037 GB, free: 3.57 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.006727, allocations: 7.984 kB / 0.7038 GB, free: 3.562 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.006736, allocations: 0 / 0.7038 GB, free: 3.562 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006738, allocations: 4 kB / 0.7038 GB, free: 3.559 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006738, allocations: 0 / 0.7038 GB, free: 3.559 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.007006, allocations: 252.3 kB / 0.704 GB, free: 3.297 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.00702, allocations: 19.86 kB / 0.704 GB, free: 3.277 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.007036, allocations: 0 / 0.704 GB, free: 3.277 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.205e-05/0.007088, allocations: 15.98 kB / 0.704 GB, free: 3.262 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.007134, allocations: 16.03 kB / 0.7041 GB, free: 3.246 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.007141, allocations: 8 kB / 0.7041 GB, free: 3.238 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.306e-05/0.007184, allocations: 131 kB / 0.7042 GB, free: 3.109 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007184, allocations: 0 / 0.7042 GB, free: 3.109 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001272/0.007312, allocations: 32 kB / 0.7042 GB, free: 3.078 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 6.083e-05/0.007372, allocations: 95.25 kB / 0.7043 GB, free: 2.973 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.007598, allocations: 219.4 kB / 0.7045 GB, free: 2.742 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.007599, allocations: 0 / 0.7045 GB, free: 2.742 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.082e-05/0.00768, allocations: 63.89 kB / 0.7046 GB, free: 2.68 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.007855, allocations: 47.89 kB / 0.7046 GB, free: 2.633 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.00827, allocations: 339.2 kB / 0.7049 GB, free: 2.27 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.952e-05/0.00831, allocations: 93.81 kB / 0.705 GB, free: 2.16 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.008353, allocations: 16.5 kB / 0.705 GB, free: 2.141 MB / 410.8 MB Notification: Performance of SimCode: time 5.01e-07/0.008353, allocations: 0 / 0.705 GB, free: 2.141 MB / 410.8 MB Notification: Performance of Templates: time 0.002111/0.01046, allocations: 2.059 MB / 0.7071 GB, free: 104 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid_Lanctt2017_sevi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.423474485985935]