Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_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.001927/0.001927, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.00222/0.00222, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.618/1.618, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 1.295/1.295, allocations: 292.9 MB / 0.5392 GB, free: 49.82 MB / 410.7 MB " [Timeout remaining time 178] 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.CadmiumChloride.CadmiumChloride_Matsuno1991_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6999 GB, free: 8.578 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.742e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.574 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference): time 0.009009/0.009037, allocations: 1.819 MB / 0.7017 GB, free: 6.738 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.0101, allocations: 0.5458 MB / 0.7022 GB, free: 6.188 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.644e-05/0.01016, allocations: 7.938 kB / 0.7022 GB, free: 6.18 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.604e-05/0.01026, allocations: 11.86 kB / 0.7022 GB, free: 6.168 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.01367, allocations: 63.53 kB / 0.7023 GB, free: 6.105 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.01388, allocations: 71.77 kB / 0.7023 GB, free: 6.035 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.01411, allocations: 159.3 kB / 0.7025 GB, free: 5.879 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.01416, allocations: 9.297 kB / 0.7025 GB, free: 5.871 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.01432, allocations: 91.78 kB / 0.7026 GB, free: 5.781 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.01457, allocations: 79.77 kB / 0.7027 GB, free: 5.703 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.0146, allocations: 8 kB / 0.7027 GB, free: 5.695 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.752e-05/0.01463, allocations: 8 kB / 0.7027 GB, free: 5.688 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.0147, allocations: 43.83 kB / 0.7027 GB, free: 5.645 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.01477, allocations: 31.92 kB / 0.7028 GB, free: 5.613 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.01494, allocations: 103.7 kB / 0.7029 GB, free: 5.512 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01494, allocations: 3.938 kB / 0.7029 GB, free: 5.508 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01494, allocations: 4 kB / 0.7029 GB, free: 5.504 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.01495, allocations: 0 / 0.7029 GB, free: 5.504 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.000842/0.01579, allocations: 399.5 kB / 0.7032 GB, free: 5.078 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.01582, allocations: 8.031 kB / 0.7032 GB, free: 5.07 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.505e-05/0.01589, allocations: 20.78 kB / 0.7033 GB, free: 5.051 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.01608, allocations: 142.2 kB / 0.7034 GB, free: 4.887 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.0161, allocations: 4.375 kB / 0.7034 GB, free: 4.883 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.01613, allocations: 12.36 kB / 0.7034 GB, free: 4.871 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/0.01946, allocations: 97.42 kB / 0.7035 GB, free: 4.773 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.01947, allocations: 3.938 kB / 0.7035 GB, free: 4.77 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.01949, allocations: 8 kB / 0.7035 GB, free: 4.762 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.01949, allocations: 0 / 0.7035 GB, free: 4.762 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.01986, allocations: 87.86 kB / 0.7036 GB, free: 4.676 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.0204, allocations: 280.4 kB / 0.7039 GB, free: 4.371 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.02087, allocations: 138.4 kB / 0.704 GB, free: 4.227 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.02107, allocations: 52.81 kB / 0.7041 GB, free: 4.172 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.02109, allocations: 0 / 0.7041 GB, free: 4.172 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003163/0.02141, allocations: 119.3 kB / 0.7042 GB, free: 4.043 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.02141, allocations: 0 / 0.7042 GB, free: 4.043 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.003712/0.02512, allocations: 197.6 kB / 0.7044 GB, free: 3.844 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.02516, allocations: 51.41 kB / 0.7044 GB, free: 3.781 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.02531, allocations: 155.6 kB / 0.7046 GB, free: 3.621 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.02533, allocations: 33.7 kB / 0.7046 GB, free: 3.582 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.02539, allocations: 100.1 kB / 0.7047 GB, free: 3.48 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.02542, allocations: 51.56 kB / 0.7047 GB, free: 3.43 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.679e-05/0.02551, allocations: 45.7 kB / 0.7048 GB, free: 3.379 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.02556, allocations: 322.8 kB / 0.7051 GB, free: 3.055 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.02579, allocations: 81.66 kB / 0.7052 GB, free: 2.969 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.02606, allocations: 198.1 kB / 0.7054 GB, free: 2.738 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.02643, allocations: 141.3 kB / 0.7055 GB, free: 2.594 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.02644, allocations: 3.938 kB / 0.7055 GB, free: 2.59 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005373/0.02697, allocations: 244.8 kB / 0.7057 GB, free: 2.332 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.027, allocations: 33.7 kB / 0.7058 GB, free: 2.293 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.02701, allocations: 0 / 0.7058 GB, free: 2.293 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.02703, allocations: 3.938 kB / 0.7058 GB, free: 2.289 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.02724, allocations: 23.98 kB / 0.7058 GB, free: 2.266 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.02725, allocations: 3.984 kB / 0.7058 GB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.02746, allocations: 23.92 kB / 0.7058 GB, free: 2.238 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.02748, allocations: 4 kB / 0.7058 GB, free: 2.234 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 8.175e-05/0.02756, allocations: 121.8 kB / 0.7059 GB, free: 2.105 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.0276, allocations: 19.84 kB / 0.7059 GB, free: 2.086 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003519/0.03112, allocations: 170.4 kB / 0.7061 GB, free: 1.918 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.03112, allocations: 0 / 0.7061 GB, free: 1.918 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.03112, allocations: 3.938 kB / 0.7061 GB, free: 1.914 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.03113, allocations: 3.984 kB / 0.7061 GB, free: 1.91 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.03129, allocations: 141.2 kB / 0.7063 GB, free: 1.742 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.03129, allocations: 4.156 kB / 0.7063 GB, free: 1.738 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.0315, allocations: 27.98 kB / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.0315, allocations: 3.938 kB / 0.7063 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.03152, allocations: 8 kB / 0.7063 GB, free: 1.699 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.03153, allocations: 4 kB / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.03153, allocations: 7.922 kB / 0.7063 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.03223, allocations: 244.7 kB / 0.7065 GB, free: 1.434 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.03225, allocations: 19.81 kB / 0.7066 GB, free: 1.414 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.0323, allocations: 7.984 kB / 0.7066 GB, free: 1.406 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.03247, allocations: 16.05 kB / 0.7066 GB, free: 1.391 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.603e-05/0.03255, allocations: 11.98 kB / 0.7066 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.03256, allocations: 7.984 kB / 0.7066 GB, free: 1.371 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.929e-05/0.03266, allocations: 125.3 kB / 0.7067 GB, free: 1.25 MB / 410.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03266, allocations: 0 / 0.7067 GB, free: 1.25 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003459/0.03301, allocations: 32 kB / 0.7068 GB, free: 1.219 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.0001226/0.03313, allocations: 111.2 kB / 0.7069 GB, free: 1.098 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005319/0.03366, allocations: 213 kB / 0.7071 GB, free: 0.8711 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.03366, allocations: 4 kB / 0.7071 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003237/0.0369, allocations: 59.89 kB / 0.7071 GB, free: 0.8086 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.03731, allocations: 39.89 kB / 0.7072 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007659/0.03808, allocations: 313.5 kB / 0.7075 GB, free: 448 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.523e-05/0.03814, allocations: 97.8 kB / 0.7076 GB, free: 332 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.03825, allocations: 21.48 kB / 0.7076 GB, free: 308 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.03832, allocations: 16.5 kB / 0.7076 GB, free: 292 kB / 410.8 MB Notification: Performance of SimCode: time 5.21e-07/0.03832, allocations: 0 / 0.7076 GB, free: 292 kB / 410.8 MB Notification: Performance of Templates: time 0.01754/0.05586, allocations: 2.513 MB / 0.71 GB, free: 13.89 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.619777878979221]