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.0009271/0.0009271, 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.0009646/0.0009646, allocations: 165.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 1.06/1.06, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.7278/0.7278, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 0 / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.109e-05/5.405e-05, allocations: 5.234 kB / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ButyricAcid.ButyricAcid): time 0.002752/0.002806, allocations: 1.834 MB / 0.6992 GB, free: 8.496 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008412/0.003647, allocations: 0.546 MB / 0.6997 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.003717, allocations: 0 / 0.6997 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.003818, allocations: 11.86 kB / 0.6997 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.004198, allocations: 71.47 kB / 0.6998 GB, free: 7.863 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.004361, allocations: 75.27 kB / 0.6998 GB, free: 7.793 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.004557, allocations: 163.3 kB / 0.7 GB, free: 7.633 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.00461, allocations: 9.297 kB / 0.7 GB, free: 7.625 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.004738, allocations: 87.78 kB / 0.7001 GB, free: 7.539 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.004963, allocations: 79.77 kB / 0.7002 GB, free: 7.461 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.00499, allocations: 8 kB / 0.7002 GB, free: 7.453 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.005009, allocations: 8 kB / 0.7002 GB, free: 7.445 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.005073, allocations: 31.91 kB / 0.7002 GB, free: 7.414 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.005132, allocations: 47.83 kB / 0.7003 GB, free: 7.367 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.005278, allocations: 99.67 kB / 0.7004 GB, free: 7.27 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.005283, allocations: 0 / 0.7004 GB, free: 7.27 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.585e-06/0.005285, allocations: 0 / 0.7004 GB, free: 7.27 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.005293, allocations: 0 / 0.7004 GB, free: 7.27 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.0006253/0.005918, allocations: 391.5 kB / 0.7007 GB, free: 6.852 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.005962, allocations: 11.97 kB / 0.7007 GB, free: 6.84 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.006017, allocations: 20.84 kB / 0.7008 GB, free: 6.82 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.006172, allocations: 142.2 kB / 0.7009 GB, free: 6.656 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.00619, allocations: 4.375 kB / 0.7009 GB, free: 6.652 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.006215, allocations: 12.38 kB / 0.7009 GB, free: 6.641 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.00641, allocations: 102.2 kB / 0.701 GB, free: 6.535 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.00642, allocations: 3.938 kB / 0.701 GB, free: 6.531 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.006433, allocations: 0 / 0.701 GB, free: 6.531 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.00644, allocations: 4 kB / 0.701 GB, free: 6.527 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.006593, allocations: 87.84 kB / 0.7011 GB, free: 6.441 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.006988, allocations: 288.4 kB / 0.7014 GB, free: 6.129 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.007222, allocations: 130.4 kB / 0.7015 GB, free: 5.992 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.011e-05/0.007312, allocations: 56.75 kB / 0.7016 GB, free: 5.934 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.007329, allocations: 4 kB / 0.7016 GB, free: 5.93 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.007517, allocations: 111.3 kB / 0.7017 GB, free: 5.809 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.007519, allocations: 4.219 kB / 0.7017 GB, free: 5.805 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003738/0.007892, allocations: 193.6 kB / 0.7018 GB, free: 5.609 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.00793, allocations: 59.34 kB / 0.7019 GB, free: 5.539 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.008038, allocations: 161 kB / 0.7021 GB, free: 5.375 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.008054, allocations: 25.7 kB / 0.7021 GB, free: 5.344 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.008103, allocations: 108.1 kB / 0.7022 GB, free: 5.234 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.008128, allocations: 39.64 kB / 0.7022 GB, free: 5.195 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.008175, allocations: 37.7 kB / 0.7023 GB, free: 5.152 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.008222, allocations: 326.8 kB / 0.7026 GB, free: 4.824 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.008335, allocations: 85.59 kB / 0.7027 GB, free: 4.734 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.008459, allocations: 198.1 kB / 0.7028 GB, free: 4.504 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.008629, allocations: 144.5 kB / 0.703 GB, free: 4.355 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.008632, allocations: 3.938 kB / 0.703 GB, free: 4.352 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002392/0.008871, allocations: 244.8 kB / 0.7032 GB, free: 4.094 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.008903, allocations: 33.7 kB / 0.7033 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.00891, allocations: 0 / 0.7033 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.008928, allocations: 4 kB / 0.7033 GB, free: 4.051 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.009038, allocations: 31.91 kB / 0.7033 GB, free: 4.02 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.009046, allocations: 0 / 0.7033 GB, free: 4.02 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.313e-05/0.009129, allocations: 19.92 kB / 0.7033 GB, free: 4 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.009139, allocations: 4 kB / 0.7033 GB, free: 3.996 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 7.232e-05/0.009212, allocations: 126.4 kB / 0.7034 GB, free: 3.863 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.009226, allocations: 11.91 kB / 0.7034 GB, free: 3.852 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.009483, allocations: 178.2 kB / 0.7036 GB, free: 3.68 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.009488, allocations: 4 kB / 0.7036 GB, free: 3.676 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.009492, allocations: 0 / 0.7036 GB, free: 3.676 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.009497, allocations: 3.984 kB / 0.7036 GB, free: 3.672 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.386e-05/0.00959, allocations: 149.2 kB / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.009592, allocations: 3.938 kB / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.094e-05/0.009683, allocations: 23.98 kB / 0.7038 GB, free: 3.469 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009686, allocations: 4 kB / 0.7038 GB, free: 3.465 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.009697, allocations: 4 kB / 0.7038 GB, free: 3.461 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.009699, allocations: 3.984 kB / 0.7038 GB, free: 3.457 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.009701, allocations: 0 / 0.7038 GB, free: 3.457 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.01002, allocations: 248.9 kB / 0.704 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.01004, allocations: 19.84 kB / 0.7041 GB, free: 3.176 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.01006, allocations: 7.922 kB / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/0.01012, allocations: 15.98 kB / 0.7041 GB, free: 3.152 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.01018, allocations: 11.98 kB / 0.7041 GB, free: 3.141 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.01019, allocations: 11.98 kB / 0.7041 GB, free: 3.129 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.214e-05/0.01024, allocations: 123.1 kB / 0.7042 GB, free: 3.008 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01024, allocations: 0 / 0.7042 GB, free: 3.008 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001442/0.01039, allocations: 32 kB / 0.7042 GB, free: 2.977 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 0.0001131/0.0105, allocations: 99.25 kB / 0.7043 GB, free: 2.867 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.01077, allocations: 212.9 kB / 0.7045 GB, free: 2.641 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01077, allocations: 0 / 0.7045 GB, free: 2.641 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.01086, allocations: 67.89 kB / 0.7046 GB, free: 2.574 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.01108, allocations: 46.23 kB / 0.7047 GB, free: 2.531 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.01162, allocations: 339.2 kB / 0.705 GB, free: 2.168 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.66e-05/0.01168, allocations: 97.8 kB / 0.7051 GB, free: 2.055 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.01173, allocations: 16.5 kB / 0.7051 GB, free: 2.035 MB / 410.8 MB Notification: Performance of SimCode: time 6.81e-07/0.01173, allocations: 0 / 0.7051 GB, free: 2.035 MB / 410.8 MB Notification: Performance of Templates: time 0.002974/0.0147, allocations: 2.063 MB / 0.7071 GB, free: 15.98 MB / 426.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: 5.475065131671727]