Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.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.001165/0.001165, 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.001139/0.001139, 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 0.9384/0.9384, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.7089/0.7089, allocations: 291.1 MB / 0.5382 GB, free: 51.91 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.287e-05, allocations: 13.03 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid): time 0.001611/0.001624, allocations: 1.822 MB / 0.6991 GB, free: 8.539 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005885/0.002213, allocations: 0.5499 MB / 0.6997 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.002259, allocations: 0 / 0.6997 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.427e-05/0.002333, allocations: 15.86 kB / 0.6997 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.002629, allocations: 71.48 kB / 0.6998 GB, free: 7.898 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.002747, allocations: 63.77 kB / 0.6998 GB, free: 7.836 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.002915, allocations: 167.3 kB / 0.7 GB, free: 7.672 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.002955, allocations: 9.297 kB / 0.7 GB, free: 7.664 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.003061, allocations: 91.78 kB / 0.7001 GB, free: 7.574 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.003264, allocations: 79.78 kB / 0.7001 GB, free: 7.496 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.003286, allocations: 8 kB / 0.7002 GB, free: 7.488 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.573e-05/0.003302, allocations: 4 kB / 0.7002 GB, free: 7.484 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.003359, allocations: 35.89 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.003408, allocations: 43.83 kB / 0.7002 GB, free: 7.406 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.003534, allocations: 99.69 kB / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.003535, allocations: 0 / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003536, allocations: 0 / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.003539, allocations: 4 kB / 0.7003 GB, free: 7.305 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.0004699/0.004009, allocations: 387.5 kB / 0.7007 GB, free: 6.891 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.004047, allocations: 12.03 kB / 0.7007 GB, free: 6.879 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.004082, allocations: 12.84 kB / 0.7007 GB, free: 6.867 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.00421, allocations: 154.1 kB / 0.7009 GB, free: 6.691 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.004224, allocations: 8.375 kB / 0.7009 GB, free: 6.684 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.004246, allocations: 8.359 kB / 0.7009 GB, free: 6.676 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.004401, allocations: 94.19 kB / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.004408, allocations: 3.938 kB / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.004422, allocations: 8 kB / 0.701 GB, free: 6.566 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.004425, allocations: 0 / 0.701 GB, free: 6.566 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.004577, allocations: 87.84 kB / 0.7011 GB, free: 6.48 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.004887, allocations: 280.4 kB / 0.7013 GB, free: 6.176 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.005122, allocations: 134.4 kB / 0.7015 GB, free: 6.035 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.005206, allocations: 56.75 kB / 0.7015 GB, free: 5.977 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.005222, allocations: 8 kB / 0.7015 GB, free: 5.969 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.005379, allocations: 115.3 kB / 0.7016 GB, free: 5.844 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.00538, allocations: 224 / 0.7016 GB, free: 5.844 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003255/0.005706, allocations: 201.5 kB / 0.7018 GB, free: 5.645 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.005729, allocations: 59.34 kB / 0.7019 GB, free: 5.574 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.656e-05/0.005815, allocations: 155.6 kB / 0.702 GB, free: 5.414 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.00583, allocations: 29.7 kB / 0.7021 GB, free: 5.379 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.00587, allocations: 108.1 kB / 0.7022 GB, free: 5.27 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.005894, allocations: 43.64 kB / 0.7022 GB, free: 5.227 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.005936, allocations: 37.7 kB / 0.7023 GB, free: 5.184 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.005977, allocations: 326.8 kB / 0.7026 GB, free: 4.855 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/0.006072, allocations: 81.66 kB / 0.7026 GB, free: 4.77 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.006193, allocations: 198 kB / 0.7028 GB, free: 4.539 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.006353, allocations: 141 kB / 0.703 GB, free: 4.395 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.006357, allocations: 3.938 kB / 0.703 GB, free: 4.391 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002271/0.006584, allocations: 244.8 kB / 0.7032 GB, free: 4.133 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.006604, allocations: 33.7 kB / 0.7032 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006609, allocations: 0 / 0.7032 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.00662, allocations: 0 / 0.7032 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.916e-05/0.006709, allocations: 35.91 kB / 0.7033 GB, free: 4.059 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.006714, allocations: 0 / 0.7033 GB, free: 4.059 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.607e-05/0.00679, allocations: 19.92 kB / 0.7033 GB, free: 4.039 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.0068, allocations: 8 kB / 0.7033 GB, free: 4.031 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 5.686e-05/0.006857, allocations: 121.8 kB / 0.7034 GB, free: 3.902 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.006869, allocations: 15.91 kB / 0.7034 GB, free: 3.887 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.007095, allocations: 170.3 kB / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.007097, allocations: 0 / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.007101, allocations: 0 / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.007105, allocations: 3.984 kB / 0.7036 GB, free: 3.715 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.176e-05/0.007187, allocations: 153.2 kB / 0.7037 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.007189, allocations: 3.938 kB / 0.7037 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-05/0.007266, allocations: 27.98 kB / 0.7038 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.007268, allocations: 0 / 0.7038 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.007278, allocations: 3.984 kB / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.007281, allocations: 4 kB / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007282, allocations: 48 / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.007593, allocations: 252.9 kB / 0.704 GB, free: 3.23 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.007609, allocations: 15.88 kB / 0.704 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.007628, allocations: 11.98 kB / 0.704 GB, free: 3.203 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.553e-05/0.007683, allocations: 15.98 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.00774, allocations: 19.91 kB / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.007748, allocations: 4 kB / 0.7041 GB, free: 3.164 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.007799, allocations: 125.3 kB / 0.7042 GB, free: 3.043 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007799, allocations: 0 / 0.7042 GB, free: 3.043 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001385/0.007938, allocations: 32 kB / 0.7042 GB, free: 3.012 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 7.354e-05/0.008011, allocations: 101.4 kB / 0.7043 GB, free: 2.902 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.00824, allocations: 223.3 kB / 0.7045 GB, free: 2.668 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.008242, allocations: 0 / 0.7045 GB, free: 2.668 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/0.008333, allocations: 63.89 kB / 0.7046 GB, free: 2.605 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.008511, allocations: 35.89 kB / 0.7046 GB, free: 2.57 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.008927, allocations: 343 kB / 0.705 GB, free: 2.207 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.008968, allocations: 93.8 kB / 0.7051 GB, free: 2.098 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.009012, allocations: 16.5 kB / 0.7051 GB, free: 2.078 MB / 410.8 MB Notification: Performance of SimCode: time 4.81e-07/0.009013, allocations: 4 kB / 0.7051 GB, free: 2.074 MB / 410.8 MB Notification: Performance of Templates: time 0.002032/0.01104, allocations: 2.057 MB / 0.7071 GB, free: 32 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.179921781644225]