Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.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.00111/0.00111, 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.001423/0.001423, allocations: 215 kB / 23 MB, free: 2.949 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.059/1.059, allocations: 230.6 MB / 256.8 MB, free: 9.625 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.7853/0.7853, allocations: 312.3 MB / 0.6108 GB, free: 96.96 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.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b") [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.001481/0.001481, allocations: 69.48 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1495, allocations: 74 MB / 0.8422 GB, free: 9.809 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b): time 0.003025/0.1525, allocations: 1.806 MB / 0.8439 GB, free: 8.004 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1535, allocations: 0.5455 MB / 0.8445 GB, free: 7.457 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.1536, allocations: 0 / 0.8445 GB, free: 7.457 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.1537, allocations: 12.48 kB / 0.8445 GB, free: 7.445 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.1541, allocations: 68.98 kB / 0.8445 GB, free: 7.379 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.1542, allocations: 61.8 kB / 0.8446 GB, free: 7.32 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1544, allocations: 167.9 kB / 0.8448 GB, free: 7.156 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.1545, allocations: 5.312 kB / 0.8448 GB, free: 7.152 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1546, allocations: 72.5 kB / 0.8448 GB, free: 7.082 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.1548, allocations: 84.34 kB / 0.8449 GB, free: 7 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1549, allocations: 4 kB / 0.8449 GB, free: 6.996 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.1549, allocations: 8.531 kB / 0.8449 GB, free: 6.988 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.155, allocations: 31.89 kB / 0.8449 GB, free: 6.957 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.675e-05/0.155, allocations: 52.41 kB / 0.845 GB, free: 6.906 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.1552, allocations: 96.27 kB / 0.8451 GB, free: 6.812 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1552, allocations: 0 / 0.8451 GB, free: 6.812 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1552, allocations: 4.562 kB / 0.8451 GB, free: 6.809 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1552, allocations: 0 / 0.8451 GB, free: 6.809 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.0006788/0.1559, allocations: 393.1 kB / 0.8455 GB, free: 6.391 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1559, allocations: 8.656 kB / 0.8455 GB, free: 6.383 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.156, allocations: 16.84 kB / 0.8455 GB, free: 6.367 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1562, allocations: 155.4 kB / 0.8456 GB, free: 6.191 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1562, allocations: 8.969 kB / 0.8457 GB, free: 6.184 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.1562, allocations: 12.12 kB / 0.8457 GB, free: 6.172 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.1564, allocations: 106 kB / 0.8458 GB, free: 6.066 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1564, allocations: 0.625 kB / 0.8458 GB, free: 6.066 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1564, allocations: 0.625 kB / 0.8458 GB, free: 6.066 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1564, allocations: 4 kB / 0.8458 GB, free: 6.062 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.1566, allocations: 81.3 kB / 0.8458 GB, free: 5.984 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.1571, allocations: 280.3 kB / 0.8461 GB, free: 5.68 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.1573, allocations: 135.8 kB / 0.8462 GB, free: 5.539 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/0.1574, allocations: 49.34 kB / 0.8463 GB, free: 5.488 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1574, allocations: 4.688 kB / 0.8463 GB, free: 5.484 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.1576, allocations: 108 kB / 0.8464 GB, free: 5.367 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.1576, allocations: 0.625 kB / 0.8464 GB, free: 5.367 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003823/0.158, allocations: 202.8 kB / 0.8466 GB, free: 5.164 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.1581, allocations: 55.41 kB / 0.8466 GB, free: 5.098 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1582, allocations: 158.2 kB / 0.8468 GB, free: 4.938 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1582, allocations: 30.39 kB / 0.8468 GB, free: 4.902 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.1583, allocations: 108.1 kB / 0.8469 GB, free: 4.793 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1583, allocations: 48.2 kB / 0.847 GB, free: 4.746 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.1583, allocations: 33.7 kB / 0.847 GB, free: 4.707 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.1584, allocations: 331.4 kB / 0.8473 GB, free: 4.375 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.1585, allocations: 82.28 kB / 0.8474 GB, free: 4.289 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.1587, allocations: 201.2 kB / 0.8476 GB, free: 4.059 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.1589, allocations: 146.3 kB / 0.8477 GB, free: 3.91 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1589, allocations: 3.938 kB / 0.8477 GB, free: 3.906 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002776/0.1592, allocations: 242 kB / 0.848 GB, free: 3.652 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.1592, allocations: 34.33 kB / 0.848 GB, free: 3.613 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1592, allocations: 0 / 0.848 GB, free: 3.613 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1592, allocations: 4.625 kB / 0.848 GB, free: 3.609 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1593, allocations: 32.5 kB / 0.848 GB, free: 3.578 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.1593, allocations: 3.984 kB / 0.848 GB, free: 3.574 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.1594, allocations: 21 kB / 0.8481 GB, free: 3.555 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1594, allocations: 8 kB / 0.8481 GB, free: 3.547 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.629e-05/0.1595, allocations: 126.3 kB / 0.8482 GB, free: 3.414 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.1595, allocations: 8.516 kB / 0.8482 GB, free: 3.406 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.1598, allocations: 179.7 kB / 0.8484 GB, free: 3.227 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1598, allocations: 7.984 kB / 0.8484 GB, free: 3.219 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1598, allocations: 0.5 kB / 0.8484 GB, free: 3.219 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1598, allocations: 4.578 kB / 0.8484 GB, free: 3.215 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.1599, allocations: 153.1 kB / 0.8485 GB, free: 3.035 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1599, allocations: 0.625 kB / 0.8485 GB, free: 3.035 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.16, allocations: 20.58 kB / 0.8485 GB, free: 3.016 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.16, allocations: 4.656 kB / 0.8485 GB, free: 3.012 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1601, allocations: 7.984 kB / 0.8486 GB, free: 3.004 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1601, allocations: 0.8125 kB / 0.8486 GB, free: 3.004 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1601, allocations: 0 / 0.8486 GB, free: 3.004 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.1604, allocations: 257.9 kB / 0.8488 GB, free: 2.738 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.1604, allocations: 7.953 kB / 0.8488 GB, free: 2.73 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1605, allocations: 8.547 kB / 0.8488 GB, free: 2.723 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-05/0.1605, allocations: 12.89 kB / 0.8488 GB, free: 2.711 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.1606, allocations: 11.98 kB / 0.8488 GB, free: 2.699 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1606, allocations: 7.984 kB / 0.8488 GB, free: 2.691 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.678e-05/0.1607, allocations: 120.4 kB / 0.849 GB, free: 2.574 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1607, allocations: 0 / 0.849 GB, free: 2.574 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001404/0.1608, allocations: 32 kB / 0.849 GB, free: 2.543 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.0001345/0.1609, allocations: 105.3 kB / 0.8491 GB, free: 2.434 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.1612, allocations: 216.9 kB / 0.8493 GB, free: 2.203 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1613, allocations: 0.7188 kB / 0.8493 GB, free: 2.203 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1614, allocations: 62.17 kB / 0.8494 GB, free: 2.145 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1616, allocations: 46.55 kB / 0.8494 GB, free: 2.102 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009122/0.1625, allocations: 365.1 kB / 0.8498 GB, free: 1.715 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.882e-05/0.1626, allocations: 102.3 kB / 0.8499 GB, free: 1.594 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.1626, allocations: 16.38 kB / 0.8499 GB, free: 1.582 MB / 474.8 MB Notification: Performance of SimCode: time 9.42e-07/0.1626, allocations: 3.938 kB / 0.8499 GB, free: 1.578 MB / 474.8 MB Notification: Performance of Templates: time 0.003013/0.1656, allocations: 2.043 MB / 0.8519 GB, free: 15.63 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.487425393424928]