Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.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.0009202/0.0009202, allocations: 92.5 kB / 19.94 MB, free: 4.605 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.001459/0.001459, allocations: 165.8 kB / 23.21 MB, free: 1.336 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.002/1.002, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.7359/0.7359, allocations: 291.2 MB / 0.5382 GB, free: 51.77 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.SodiumSelenite.SodiumSelenite_Brodin2015_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.905e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference): time 0.002591/0.00262, allocations: 1.81 MB / 0.6992 GB, free: 8.562 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000888/0.003508, allocations: 0.5497 MB / 0.6997 GB, free: 8.008 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.003575, allocations: 0 / 0.6997 GB, free: 8.008 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.769e-05/0.003673, allocations: 15.86 kB / 0.6997 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.004027, allocations: 71.48 kB / 0.6998 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.004195, allocations: 66.89 kB / 0.6999 GB, free: 7.859 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.004401, allocations: 171.2 kB / 0.7 GB, free: 7.691 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.004452, allocations: 5.312 kB / 0.7 GB, free: 7.688 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.00459, allocations: 95.78 kB / 0.7001 GB, free: 7.594 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.00482, allocations: 75.78 kB / 0.7002 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.004848, allocations: 4 kB / 0.7002 GB, free: 7.516 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.03e-05/0.004868, allocations: 8 kB / 0.7002 GB, free: 7.508 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.004928, allocations: 35.89 kB / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.00499, allocations: 43.83 kB / 0.7003 GB, free: 7.43 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.005139, allocations: 99.69 kB / 0.7004 GB, free: 7.332 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.005143, allocations: 0 / 0.7004 GB, free: 7.332 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005144, allocations: 0 / 0.7004 GB, free: 7.332 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.00515, allocations: 0 / 0.7004 GB, free: 7.332 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.0006538/0.005803, allocations: 391.5 kB / 0.7007 GB, free: 6.914 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.005844, allocations: 12.03 kB / 0.7008 GB, free: 6.902 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.005904, allocations: 16.78 kB / 0.7008 GB, free: 6.887 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.006086, allocations: 150.2 kB / 0.7009 GB, free: 6.715 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.006105, allocations: 12.38 kB / 0.7009 GB, free: 6.703 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.006133, allocations: 8.359 kB / 0.7009 GB, free: 6.695 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.006347, allocations: 102.2 kB / 0.701 GB, free: 6.59 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.006356, allocations: 3.938 kB / 0.701 GB, free: 6.586 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.006371, allocations: 4 kB / 0.701 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.006376, allocations: 0 / 0.701 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.006575, allocations: 87.83 kB / 0.7011 GB, free: 6.496 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.006998, allocations: 280.4 kB / 0.7014 GB, free: 6.191 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.007292, allocations: 134.4 kB / 0.7015 GB, free: 6.051 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.007401, allocations: 56.81 kB / 0.7016 GB, free: 5.992 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.007417, allocations: 4 kB / 0.7016 GB, free: 5.988 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.007635, allocations: 111.3 kB / 0.7017 GB, free: 5.867 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.007637, allocations: 224 / 0.7017 GB, free: 5.867 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.000441/0.008078, allocations: 201.5 kB / 0.7019 GB, free: 5.668 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.008106, allocations: 55.34 kB / 0.7019 GB, free: 5.602 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.008215, allocations: 165 kB / 0.7021 GB, free: 5.434 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.008232, allocations: 29.7 kB / 0.7021 GB, free: 5.398 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.008279, allocations: 108 kB / 0.7022 GB, free: 5.289 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.008314, allocations: 43.64 kB / 0.7023 GB, free: 5.246 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.008372, allocations: 37.7 kB / 0.7023 GB, free: 5.203 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.759e-05/0.008409, allocations: 322.8 kB / 0.7026 GB, free: 4.879 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.008542, allocations: 77.66 kB / 0.7027 GB, free: 4.797 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.008694, allocations: 206 kB / 0.7029 GB, free: 4.559 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.008911, allocations: 143.4 kB / 0.703 GB, free: 4.41 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.008914, allocations: 3.938 kB / 0.703 GB, free: 4.406 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003258/0.009239, allocations: 241.9 kB / 0.7032 GB, free: 4.152 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.009271, allocations: 33.7 kB / 0.7033 GB, free: 4.113 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.009277, allocations: 0 / 0.7033 GB, free: 4.113 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.009292, allocations: 0 / 0.7033 GB, free: 4.113 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.009425, allocations: 35.91 kB / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.00943, allocations: 0 / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.009541, allocations: 23.92 kB / 0.7033 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.009554, allocations: 4 kB / 0.7033 GB, free: 4.051 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.178e-05/0.009626, allocations: 122.4 kB / 0.7035 GB, free: 3.922 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.009645, allocations: 15.91 kB / 0.7035 GB, free: 3.906 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.009961, allocations: 170.3 kB / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.009964, allocations: 0 / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.009969, allocations: 3.984 kB / 0.7036 GB, free: 3.734 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.009973, allocations: 0 / 0.7036 GB, free: 3.734 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.01008, allocations: 157.2 kB / 0.7038 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01009, allocations: 3.938 kB / 0.7038 GB, free: 3.547 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.01021, allocations: 23.98 kB / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01021, allocations: 0 / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.01022, allocations: 3.984 kB / 0.7038 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.01023, allocations: 4 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01023, allocations: 0 / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.01064, allocations: 255.3 kB / 0.7041 GB, free: 3.25 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.01066, allocations: 19.86 kB / 0.7041 GB, free: 3.23 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.01069, allocations: 4 kB / 0.7041 GB, free: 3.227 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.01077, allocations: 15.98 kB / 0.7041 GB, free: 3.211 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.01084, allocations: 15.91 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.01085, allocations: 8 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.344e-05/0.01091, allocations: 123.1 kB / 0.7042 GB, free: 3.066 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01091, allocations: 0 / 0.7042 GB, free: 3.066 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002175/0.01113, allocations: 32 kB / 0.7043 GB, free: 3.035 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.0001235/0.01125, allocations: 103.3 kB / 0.7044 GB, free: 2.922 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.01157, allocations: 215.3 kB / 0.7046 GB, free: 2.695 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01157, allocations: 3.938 kB / 0.7046 GB, free: 2.691 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.01169, allocations: 63.89 kB / 0.7046 GB, free: 2.629 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.01197, allocations: 43.89 kB / 0.7047 GB, free: 2.586 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006105/0.01258, allocations: 331.2 kB / 0.705 GB, free: 2.23 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.614e-05/0.01264, allocations: 97.8 kB / 0.7051 GB, free: 2.117 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.057e-05/0.0127, allocations: 20.5 kB / 0.7051 GB, free: 2.094 MB / 410.8 MB Notification: Performance of SimCode: time 7.21e-07/0.0127, allocations: 0 / 0.7051 GB, free: 2.094 MB / 410.8 MB Notification: Performance of Templates: time 0.002707/0.01541, allocations: 2.056 MB / 0.7071 GB, free: 56 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Brodin2015_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.629480144940317]