Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.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.001237/0.001237, 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.001336/0.001336, allocations: 221.3 kB / 23.01 MB, free: 2.969 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.085/1.085, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.796/0.796, allocations: 312.3 MB / 0.6108 GB, free: 97.48 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.ButyricAcid.ButyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid") [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.001419/0.001419, allocations: 77.97 kB / 0.7699 GB, free: 20.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1532, allocations: 73.99 MB / 0.8421 GB, free: 10.27 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid): time 0.002637/0.1559, allocations: 1.829 MB / 0.8439 GB, free: 8.438 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009457/0.1568, allocations: 0.5456 MB / 0.8445 GB, free: 7.891 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.1569, allocations: 4.656 kB / 0.8445 GB, free: 7.887 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.157, allocations: 11.86 kB / 0.8445 GB, free: 7.875 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004157/0.1574, allocations: 64.84 kB / 0.8445 GB, free: 7.812 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.1576, allocations: 58.28 kB / 0.8446 GB, free: 7.758 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.1578, allocations: 172.4 kB / 0.8448 GB, free: 7.59 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.441e-05/0.1579, allocations: 5.312 kB / 0.8448 GB, free: 7.586 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.158, allocations: 71.75 kB / 0.8448 GB, free: 7.516 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.1583, allocations: 84.22 kB / 0.8449 GB, free: 7.434 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.1583, allocations: 4.625 kB / 0.8449 GB, free: 7.43 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.56e-05/0.1583, allocations: 8 kB / 0.8449 GB, free: 7.422 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.688e-05/0.1584, allocations: 36.53 kB / 0.845 GB, free: 7.387 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.1585, allocations: 51.77 kB / 0.845 GB, free: 7.336 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.1586, allocations: 100.1 kB / 0.8451 GB, free: 7.238 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1586, allocations: 0.5 kB / 0.8451 GB, free: 7.238 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1586, allocations: 0 / 0.8451 GB, free: 7.238 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.1587, allocations: 0.5938 kB / 0.8451 GB, free: 7.238 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.0007374/0.1594, allocations: 389.1 kB / 0.8455 GB, free: 6.824 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1594, allocations: 8.719 kB / 0.8455 GB, free: 6.816 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.1595, allocations: 20.84 kB / 0.8455 GB, free: 6.797 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.1597, allocations: 151.5 kB / 0.8457 GB, free: 6.625 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1597, allocations: 4.375 kB / 0.8457 GB, free: 6.621 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.1597, allocations: 16.72 kB / 0.8457 GB, free: 6.605 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.16, allocations: 101.1 kB / 0.8458 GB, free: 6.504 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.16, allocations: 4.625 kB / 0.8458 GB, free: 6.5 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.16, allocations: 4 kB / 0.8458 GB, free: 6.496 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.16, allocations: 4.531 kB / 0.8458 GB, free: 6.492 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.1602, allocations: 85.06 kB / 0.8459 GB, free: 6.41 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.1607, allocations: 280.3 kB / 0.8461 GB, free: 6.105 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.161, allocations: 131.8 kB / 0.8463 GB, free: 5.969 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.1611, allocations: 49.47 kB / 0.8463 GB, free: 5.918 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.1611, allocations: 4.594 kB / 0.8463 GB, free: 5.914 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.1614, allocations: 116 kB / 0.8464 GB, free: 5.789 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.1614, allocations: 0.625 kB / 0.8464 GB, free: 5.789 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004948/0.1619, allocations: 194.9 kB / 0.8466 GB, free: 5.594 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1619, allocations: 55.41 kB / 0.8467 GB, free: 5.527 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1621, allocations: 155.1 kB / 0.8468 GB, free: 5.367 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1621, allocations: 29.92 kB / 0.8468 GB, free: 5.332 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.1622, allocations: 108.7 kB / 0.8469 GB, free: 5.223 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.1622, allocations: 52.16 kB / 0.847 GB, free: 5.172 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.1623, allocations: 37.7 kB / 0.847 GB, free: 5.129 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1624, allocations: 327.4 kB / 0.8473 GB, free: 4.801 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1626, allocations: 82.28 kB / 0.8474 GB, free: 4.715 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.1628, allocations: 202.7 kB / 0.8476 GB, free: 4.48 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.163, allocations: 146.3 kB / 0.8477 GB, free: 4.332 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.163, allocations: 0 / 0.8477 GB, free: 4.332 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003508/0.1634, allocations: 242 kB / 0.848 GB, free: 4.078 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.1634, allocations: 30.33 kB / 0.848 GB, free: 4.043 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1634, allocations: 0 / 0.848 GB, free: 4.043 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1634, allocations: 4.625 kB / 0.848 GB, free: 4.039 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.1636, allocations: 32.44 kB / 0.848 GB, free: 4.008 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1636, allocations: 0 / 0.848 GB, free: 4.008 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1637, allocations: 24.47 kB / 0.8481 GB, free: 3.984 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1637, allocations: 4.625 kB / 0.8481 GB, free: 3.98 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 9.783e-05/0.1638, allocations: 122.4 kB / 0.8482 GB, free: 3.852 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.1638, allocations: 8.547 kB / 0.8482 GB, free: 3.844 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.1641, allocations: 186.8 kB / 0.8484 GB, free: 3.66 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1642, allocations: 4 kB / 0.8484 GB, free: 3.656 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1642, allocations: 0.7188 kB / 0.8484 GB, free: 3.656 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1642, allocations: 3.984 kB / 0.8484 GB, free: 3.652 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.1643, allocations: 149.8 kB / 0.8485 GB, free: 3.477 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1643, allocations: 0 / 0.8485 GB, free: 3.477 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1644, allocations: 20.55 kB / 0.8485 GB, free: 3.457 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1644, allocations: 8.469 kB / 0.8486 GB, free: 3.449 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1644, allocations: 8.609 kB / 0.8486 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1644, allocations: 0 / 0.8486 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1644, allocations: 0.5938 kB / 0.8486 GB, free: 3.441 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.1649, allocations: 258 kB / 0.8488 GB, free: 3.172 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.1649, allocations: 16.42 kB / 0.8488 GB, free: 3.156 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1649, allocations: 4.609 kB / 0.8488 GB, free: 3.152 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-05/0.165, allocations: 16.67 kB / 0.8488 GB, free: 3.137 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.1651, allocations: 11.97 kB / 0.8489 GB, free: 3.125 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1651, allocations: 4.594 kB / 0.8489 GB, free: 3.121 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.945e-05/0.1652, allocations: 121.9 kB / 0.849 GB, free: 3.004 MB / 474.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1652, allocations: 0.6875 kB / 0.849 GB, free: 3.004 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0002269/0.1654, allocations: 35.94 kB / 0.849 GB, free: 2.969 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.0001151/0.1655, allocations: 107 kB / 0.8491 GB, free: 2.859 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003681/0.1659, allocations: 209.7 kB / 0.8493 GB, free: 2.637 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1659, allocations: 0.5625 kB / 0.8493 GB, free: 2.637 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.166, allocations: 64.39 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.0002785/0.1663, allocations: 42.03 kB / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.167, allocations: 352.4 kB / 0.8497 GB, free: 2.16 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.684e-05/0.1671, allocations: 103.4 kB / 0.8498 GB, free: 2.039 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.1671, allocations: 15.44 kB / 0.8499 GB, free: 2.027 MB / 474.8 MB Notification: Performance of SimCode: time 1.082e-06/0.1671, allocations: 0.5938 kB / 0.8499 GB, free: 2.027 MB / 474.8 MB Notification: Performance of Templates: time 0.003322/0.1704, allocations: 2.057 MB / 0.8519 GB, free: 68 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.087167610414326]